- npm init -y
- npm install express sequelize mysql2 body-parser
- mkdir models config
- npx sequelize-cli init
- npx sequelize-cli model:generate --name User --attributes firstName:string,lastName:string,email:string
- npx sequelize-cli db:migrate
- node index.js
- Pagination in Posts and Users
- Like and Unlike a Post
- Follow and Unfollow users
- Account freez and unfreez
- Account delete
- Account signup and login
- JWT authentication
- Search Users
- Delete Post
- Update Post
- Update User
- Delete Comment
- Save or Unsave Posts
- Suggested Users or Posts
- Users following/followers list
- Message between two user [Socket.io]
- Group Message [Socket.io]
- Nested Comment [hierarchy]
- Share posts with other Users
- Public or Private account
- Accept/Reject Request if private account
- Display posts when private and followed, no validation for public
- Followers list only if user request is accepted and public users
- Pending Requests
- Remove User from following
- Only owner of Post/Comment can delete it
- Nested comment debug
- Don't allow reliking