- Go to Swagger Inspector
- Enter https://danengel-auth-api.herokuapp.com/signup as POST
- In Body, enter { "username": "whatever", "password": "whatever"}
- Click Send, this will create a new user. You should see the user object below.
- Go to Swagger Inspector
- Enter https://danengel-auth-api.herokuapp.com/signin as POST
- Click on Authentication and Headers and enter dan and dan for username and password
- Click send and you will be logged in. You should see the user object including the token below.
PORT
- 3333
- npm run start
- 404 on a bad route
- 404 on a bad method
- The correct status codes and returned data for each REST route
- Create a record using POST
- Read a list of records using GET
- Read a record using GET
- Update a record using PUT
- Destroy a record using DELETE