With DecentraBox files aren’t stored in centralized data centers— instead, they're encrypted, split into pieces, and distributed on a filecoin+ipfs network.
Fleek Hosted Demo: https://45xxc-daaaa-aaaad-qa3za-cai.ic.fleek.co/
AWS Hosted Demo: https://main.d1duwthxt3y612.amplifyapp.com/
The following technologies were used to make this awesome product.
EStuary (https://estuary.tech/)
Provides with direct access to deals on filecoin and storage of files on IPFS Network
OrbitDB (https://github.com/orbitdb/orbit-db)
Provides Decentralised Database over IPFS.
Provides the base framework to build client side operations.
Provides the cli operation to deploy the API Endpoints created in NodeJS to AWS Lambda + AWS API Gateway. Used to deploy 2 API Endpoints for sending our email to users & to generate browser based key for EStuary.
Use to send emails to users to login to the application
Used with CI/CD Setup in order to host application.
Used to deploy IPFS webrtc-star discovery server for DecentraBox. Follow this guide for the steps: https://suda.pl/free-webrtc-star-heroku/
-
To get started first clone the git repo
git clone https://github.com/itseasy21/DecentraBox
-
On one terminal we will deploy the backend APIs
- Install Sam Cli (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html) and configure it
- Navigate to
backend-api
folder & open theget-api/app.js
and update your EStuary permanent key in there. - Now navigate to
backend-api
directory and runsam deploy --guided
and note the api endpoints
- On another terminal we will run the application
- Update the API Endpoints in the following:
src/pages/ProcessLogin.tsx
&src/pages/Dashboard.tsx
- In the terminal run the following to install and start the application
yarn install # If first time use
yarn start # should start the app on localhost:3000
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.