- npm i --verbose
- npm start
- install insomnia and import final_api_docs.json
- install insomnia/postman
- import api_requests.json file
- simulate any request needed
- Follow/request ✔️
- Unfollow ✔️
- List (pagination) ✔️
- Accept/Remove Follow Requests ✔️
- My following/follower ✔️
- List Chats ✔️
- Send messages ✔️
- List messages ✔️
- Login ✔️
- Register ✔️
- Logout (invalidate token) ✔️
- Refresh token ✔️
- Create ✔️
- List User tweets ✔️
- Favorite ✔️
- Retweet ✔️
- Trending ✔️
- Send Messages (request) ✔️
- List messages with user ✔️
- List user chats (unique messages) ✔️
- Using JWT
- Invalidate tokens after logout
- Check for expired tokens
- Checking for roles
- limiting requets (prevent DOS)
- handling any error (prevent crashes)
- using regex in url params to add restrictions
- Mongoose ORM has sanitizing guards
- omitting user password when converted to JSON
- sanitize tweets
- add loggers
- mongoose uri env var
- using SSL