Dependencies:
- Node.js: v8.2
- MongoDB: v3.2.15
npm install
npm start
docker-compose up --build
npm run test
npm run eslint
Method | URI | Description |
---|---|---|
GET | /api/users/ | Get list users (authorization required) |
GET | /api/users/:id | Get user by id (authorization required) |
POST | /api/users/ | Create new user (SignUp) |
PUT | /api/users/:id | Update User by id (authorization required) |
DELETE | /api/users/:id | Delete user by id (authorization required) |
POST | /api/users/login | Login |