- Restfull interface
- JWT Authentication
- And a little bit of ✨
- Restfull interface for seemless api calls 🤙
- Meaningful error messages for bugs 🐞
- Simple file structure for extending and managing API 🗄️
- Validation and Permission with JWT 🔐
- Node.js
- Express
- MongoDB
- json web token
PORT = <PORT NUMBER>
JWT_SECRET = <SECRET_KEY>
CUSTOMER = 1
SELLER = 4
ADMIN = 2048
DB_NAME = <DATABASE_NAME>
cd rest-api-practice
npm i
npm run start
or
cd rest-api-practice
yarn add
yarrn start
For develpment environments...
npm run dev
or
yarn dev
For API read api.md
MIT