Entry point of this app is app.ts file, and main method is routes requiring express server as a argument.This method is responsible for invoking every endpoint Also if you go into utils folder you will get all the useful files and methods.
- clone git repo into your local machine
- install node and npm or yarn package manager if you don't already have.
- Run
yarn install
:- This will install all the packages - At the end run
yarn dev
This File have Five routes:-
http://localhost:3886/healthCheck
http://localhost:3886/getBlockchains
http://localhost:3886/addBlockchain
http://localhost:3886/getBlockchainsToken:/blockchainId
http://localhost:3886/getBlockchainsToken:/blockchainId
Setup Mongo db locally and go to config folder. Next open default.tsx file. After that replace the dbUri with your own.
- Postman
- An IDE or text editor (VS Code)
- A package manager such as NPM or Yarn
- Node.js installed
- Node.js
- TypeScript
- Express.js & Express.js
- Zod validation
- Mongo DB