- Run
nodemon
in terminal - Server listen on port 3000
- GET |
/api
| Test api - POST |
/api/login
| Receive the token and set the header Authorization : Baerer <access_token> - POST |
/api/posts
| Check the token and create post if token is good
Jean SAUNIE