A simple Twitter-like web application built using Flask and MongoDB.
- Frontend: HTML, CSS, JavaScript, Bootstrap
- Backend: Flask
- Database: MongoDB
/twitter-clone
├── app.py
├── README.md
├── /templates
│ ├── base.html
│ ├── index.html
│ ├── login.html
│ ├── profile.html
│ └── register.html
└── /static
├── /css
│ └── styles.css
└── /js
└── scripts.js
✅ User Authentication – Signup & Login using Flask sessions
✅ Create Tweets – Users can post short messages
✅ Edit Tweets – Users can now edit messages
✅ View Tweets – Display all tweets from users
✅ Delete Tweets – Users can remove their own tweets
✅ Like Tweets – Simple like feature using MongoDB
✅ Follow Users – Basic follow/unfollow functionality
-
Clone the Repository
git clone https://github.com/yourusername/twitter_clone.git cd twitter_clone
-
Install Dependencies
pip install flask pymongo
-
Run the Application
python app.py
-
Open in Browser
Visithttp://127.0.0.1:5000
to access the application.
Feel free to submit issues or pull requests to improve this project!
This project is open-source and available under the MIT License