- git clone https://github.com/Nekhai/crud-api.git
- npm i
- git checkout development
http://localhost:3000/api/users
- working url
npm run start:dev
- Run server in development mode;npm run start:prod
- Build server app and run in production mode;npm run start:multi
- Run multiple instances of server app;npm run test
- Run tests for server app;
- GET
api/users
get all users; - GET
api/users/${userId}
get one user by id; - POST
api/users
create new user; - PUT
api/users/{userId}
update existing user; - DELETE
api/users/${userId}
delete existing user;