Backend apps for handling basic RESTful API request. Created using expressJS & mongoDB.
- request validation
- reset/forgot password token auto expiration
- custom error handler
For the apps to work, please provide .env file that provide parameter below:
NODE_ENV = <your environment (development/production)>
PORT = <port for your apps to run>
MONGO_CONNECT = <mongo URI connect>
JWT_SECRET = <your JWT secret>
FE_URL = <Frontend URL to handle mail link. Ex: localhost:3000>
Run this command for first time run:
$ yarn install
$ yarn start
Or if you use NPM:
$ npm install
$ npm start
You can check the postman collection here. It's available on the repo too.