-
Notifications
You must be signed in to change notification settings - Fork 0
Backend
Dominique Hosea edited this page May 16, 2024
·
4 revisions
MongoDB’s inbuilt utility, mongodump, to generate a backup of the entire database.
The backup script is set to run weekly at 00:00 on Sunday.
Test enpoints on test server:
Simply visit Test Server
Test endpoints locally by:
/* Change directories into Swagger Server */
cd swagger-server
/* Run Server */
npm start
/* The server will be live on http://localhost:8080/docs */
After completing the instructions to run locally click here: Local Server
- /articles
- /articles/:id
- /upload
- /destory
- /register
- /login
- /refresh_token
This project uses Jest for testing. Visit https://jestjs.io for details.
To execute tests:
npm test