- This is a simple node express API that is mainly built to handle user authentication and authorization, creating, updating, commenting and liking blogs along side creating and storing messages from users to admin
- The admin has a priviledge to access 100% of all routes as the other users have acces to a limited number of routes
Install global TypeScript and TypeScript Node
npm install -g typescript ts-node-dev
You should install MongoDB on your local machine, or use other services such as mLab or Compose
After that, you will have to replace the mongoURL with your MongoDB address in src/index.ts
https://github.com/kanu-cast/mybrand-api.git .
Then install the dependencies
npm install
Run in development mode
npm start
npm run test
NodeJs, ExpressJs, Typescript, Mongoose, MongoDB, Swagger-Ui-Express, Jest, bcrypt, JWT, PassportJs etc.