/DecentraBox

With DecentraBox files aren’t stored in centralized data centers— instead, they're encrypted, split into pieces, and distributed on a filecoin+ipfs network.

Primary LanguageTypeScript

Getting Started with DecentraBox

With DecentraBox files aren’t stored in centralized data centers— instead, they're encrypted, split into pieces, and distributed on a filecoin+ipfs network.

Demo Link

Fleek Hosted Demo: https://45xxc-daaaa-aaaad-qa3za-cai.ic.fleek.co/

AWS Hosted Demo: https://main.d1duwthxt3y612.amplifyapp.com/

Tech Stack

The following technologies were used to make this awesome product.

Provides with direct access to deals on filecoin and storage of files on IPFS Network

Provides Decentralised Database over IPFS.

ReactJS

Provides the base framework to build client side operations.

NodeJS + Sam CLI

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.

AWS SES

Use to send emails to users to login to the application

Infrastructure

AWS Amplify

Used with CI/CD Setup in order to host application.

Heroku

Used to deploy IPFS webrtc-star discovery server for DecentraBox. Follow this guide for the steps: https://suda.pl/free-webrtc-star-heroku/

Getting Started

  1. To get started first clone the git repo git clone https://github.com/itseasy21/DecentraBox

  2. On one terminal we will deploy the backend APIs

  1. 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

Available Scripts

In the project directory, you can run:

yarn start

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.

yarn build

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.