Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 475 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 475 Bytes

CRUD Mahasiswa

Build a Restful CRUD API data-Mahasiswa using Node.js, Express and MongoDB.

Steps to Setup

  1. Install dependencies
npm install
  1. Run Server
node server.js

Test API in browser with route http://localhost:3000

POST localhost:3000/mahasiswa
GET localhost:3000/mahasiswa
GET localhost:3000/mahasiswa/mahasiswaId
PUT localhost:3000/mahasiswa/mahasiswaId
DELETE localhost:3000/mahasiswa/mahasiswaId