Aplikasi ini merupakan aplikasi user login sederhana menggunakan metede MVC dan RestFul API.
Route | HTTP | Description |
---|---|---|
/ | GET | Home page |
Route | HTTP | Description |
---|---|---|
/users/ | GET | Get all the users |
/signin/ | POST | Sign In user |
/signup/ | POST | Sign Up user |
/users/:id | GET | Get user based on id user |
/users/ | POST | Create a user |
/users/:id | DELETE | Delete a user |
/users/:id | PUT | Update a user with new info |
npm init npm install node app.js
access website via http://localhost:3000