#My App Name demo API with basic REST API
List of basic routes:
/api/hello?name={name} | GET | print hello, {name} !
Route | HTTP | Description |
---|---|---|
api/signup | POST | Sign Up |
api/signin | POST | Sign In |
api/users | GET | Get all users info |
api/users/:id | GET | Get user info decoded By Admin & User |
api/users | POST | Insert user by admin |
api/users/:id | DELETE | Delete by admin |
api/users/:id | PUT | update By Admin & User |
##instalasi tools & database With only npm:
npm install npm start
##Problem Error: listen EADDRINUSE :::3000 ==> Fixing routes change to port 4000