The routes are written in the api.rest file
- Intallation:
- Clone the repository
- Then, install the modules with
npm install
oryarn
. - Then create a
.env
file and writeDB_URI=<Your database uri>
- Note: the project is using MongoDB and mongoose, you must write an MongoDB url, example
mongodb://<Your hosted db>/<Your database>
- Note: the project is using MongoDB and mongoose, you must write an MongoDB url, example
- Then run
npm run dev
oryarn dev
.
- Run as production:
- After clone the repository, run the command
npm run lint && npm run prettier && npm run buid
oryarn lint && yarn prettier && yarn buid
- Then run
npm start
oryarn start
- After clone the repository, run the command