RohitAmdahl / rest-api

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:JavaScript 100.0%