Student record-based API built with Node JS. Uses MongoDB (mlab.com) as datastore.
Base Endpoint: https://studentia-api.herokuapp.com/api/
- Install NPM
- Fork or Clone repository
cd
into repository- Run
npm install
- Run
npm start
You can use Postman to get and post requests
GET /students
- Gets list of all student records
GET /student/<id>
- Get single student details
POST /student
- Register a new student. Send Body: first_name, last_name, faculty, department, level, sex
PUT /student/<id>
- Updates a single student's record
DELETE /student/<id>
- Deletes a single student