This is a basic API for a Student Management System built using ExpressJS and MongoDB.
- Need endpoints for both Admin panel and student interface.
- Admin Panel
- Admin should be able to log
- Allow the admin to add students with their name, email ID, department, and password
- The admin should also be able to assign tasks to students with a due time.
- Student Interface
- Students should be able to log in and see the tasks assigned to them.
- They should be able to see the status of each task (pending, overdue,completed).
- Also option change task status to completed.
Postman Api Documentation: Click hee
Visit Postman Api Documentation to explore all apis
Getting Started:
- Prerequisites:
- List any required software or tools (e.g., Node.js version, npm).
- Installation:
- Clone the repository
- Install dependencies:
npm install
- Create a .env file and set the necessary environment variables
- Running the Project:
- Development mode:
npm run dev
- Development mode:
PORT=4000
MONGODB_URI= //your mongodb uri
CORS_ORIGIN=*
//your secret key(random string)
JWT_SECRET= sdfhaslfjasldfjao29m458hmwietjgowteirtvnwim09t8u4m9t58y