Skip to content

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.

Notifications You must be signed in to change notification settings

RohitAmdahl/rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Demo

Student API - Express.js and Mongoose , MongoDB

Overview

  • 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

API Endpoints

  • 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

Contributing

  • Feel free to contribute by submitting issues or pull requests.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published