Goal is to Create a simple skeleton backend using node express and mongoose-
The Basic functionality that we will be implementing will be: 1. sign up 2. auth 3. show user list 4. remove / update users
Authentication will be handled using JWT
Api endpoints will be as follows
| Method | Function | endPoint |
|---|---|---|
| POST | Create user | /api/users |
| POST | Login | /auth/signin |
| GET | Sign-out | /auth/signout |
| GET | List users | /api/users |
| GET | List user | /api/users/:userId |
| PUT | Update user | /api/users/:userId |
| DELETE | Delete user | /api/users/:userId |