-
This project is an Express.js and Mongoose-based API for performing CRUD (Create, Read, Update, Delete) operations on student data. The API exposes endpoints to manage student records.
-
Prerequisites
-
Node.js installed on your machine
-
MongoDB installed locally or accessible via a connection string
git clone https://github.com/your-username/your-repo.git
npm install
- GET /students: Get a list of all students.
- GET /students/:id: Get details for a specific student by ID.
- POST /students: Create a new student.
- PUT /students/:id: Update details for a specific student by ID.
- DELETE /students/:id: Delete a student by ID.
http://localhost:3000/students/your-student-id
- Feel free to contribute by submitting issues or pull requests.