A ipfs upload API with Nodejs, Typescript, TDD, Clean Architecture, Design Patterns, SOLID and more...
Clone this repo:
git clone https://github.com/vinisaveg/clean-node-ipfs-upload.git
Install dependencies:
yarn install
Create an .env file on root with the following keys:
PINATA_API_KEY=
PINATA_API_SECRET=
JWT_SECRET=
APP_PASS=
VALID_API_TOKEN=
Build the application:
yarn build
Start the application:
yarn start
Run the unit tests:
yarn test
Configuring husky and git hooks
npx husky install
https://ipfs.io/ipfs/QmbFso5VCnTJ8e9r96TZrKLTdrvJ1BqF1L1wp1kERgTQMP
Run the app in development mode:
yarn dev