Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Student Management API

This Node.js REST API manages students in a JavaScript array. The data resets each time the server restarts.

Run it

npm install
npm run dev

Open http://localhost:3000/api/v1/health to confirm that it is running.

Endpoints

Method URL Description
POST /api/v1/students Create a student
GET /api/v1/students Get all students
GET /api/v1/students/:id Get one student
PATCH /api/v1/students/:id Update a student
DELETE /api/v1/students/:id Delete a student

Use this JSON body when creating a student:

{
  "name": "Ada Okafor",
  "email": "ada@example.com",
  "course": "Node.js",
  "age": 22
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages