Backend APIs for admin, teacher and student
To start the backend server :
- Clone the repo.
- Change the mongo uri in db.js
- Install all the dependencies first using "npm i".
- Run the server using "nodemon index.js".
- I have included postman file "Postman testing api.json" in directory also, import it in postman.
- First of all create admin account in mongodb "users" collection.
- Now, use the login api to get auth token, then call the further APIs.
I have also included the examples of different responses in postman file. Please check that also.