###List of user routes:
Route | HTTP | Description |
---|---|---|
/api/users | GET | Get all the users |
/api/users/:id | GET | Get a single user |
/api/users | POST | Create a user |
/api/users/:id | DELETE | Delete a user |
/api/users/:id | PUT | Update a user with new info |
localhost:3000/api/users // will return all users in JSON format
npm install
npm start
()[]