Link :- https://zany-gray-tweed-jacket.cyclic.cloud
This repo contains the backend part of the Twitter Clone where you are allow users to register, post tweets, follow other users, and view the tweets of the users they have followed.
Fulfilled the below requirements :-
- Implement a user registration and authentication system.
- Users should be able to register with a unique username and password.
- Users should be able to log in and log out.
- Implement authentication using JWT (JSON Web Tokens).
- Design and implement the database schema using MongoDB to store user data, tweets and follower information.
- Create, edit, and delete tweets.
- Follow/Unfollow any user.
- View the timeline, which displays tweets from followed users in chronological order.
Guidelines that were followed in the code :-
- Use best practices for code architecture.
- Follow MongoDb best practices and design principles while keeping scalability in mind.
- Write clean and well-architected code.
External services used :- cyclic.sh was used to host backend code for node.js atlas.mongodb.com to host a free mongo database