This project is a Twitter-like social media system developed in Java, featuring user interactions such as tweeting, live chat, and database-driven functionality. It consists of a Client-Server architecture with a MySQL database for data storage.
- User Authentication: Sign up, log in, and manage profiles.
- Tweet System: Users can post, view, and delete tweets.
- Live Chat: Real-time messaging system between users.
- Follow System: Users can follow/unfollow others.
- Database Storage: Stores tweets, user data, and chat logs in MySQL.
- Search Functionality: Search for your desired tweet or person.
- Notification System: Recieve notifications when users message you.
- Online/Offline Status: Users can see if other users are online or offline. Green Indicates online and grey indicats offline status.
- Comments: Users can post comments on other people's posts.
- Install MySQL and create a database named
Smiley. - Run the provided SQL script (
mysql.sql) to create tables. (Server/Database/mysql.sql) - Update database credentials in
Server/Database/DatabaseConfig.java.
- Java (JDK 8 or higher)
- MySQL Database
- Clone the Repository
git clone https://github.com/Ohtears/Smiley.git cd Smiley - Start MySQL Database
- Configure Database in
Server/Database/MYSQLHandler.java - Run the Server
cd Server javac -cp .:lib/* Server/Network/ResponseHandler.java java -cp .:lib/* Server/Network/ResponseHandler
- Run the Client
cd Client javac -cp .:lib/* Client/GUI/MainApp/MenuMain.java java -cp .:lib/* Client/GUI/MainApp/MenuMain
- Uses Java Sockets for real-time client-server communication.
- Threaded architecture ensures responsiveness.
- Messages are delivered in real-time with asynchronous processing.
- Implement a Like System.
- Add Profile Pictures.
- Enhance the user interface with modern UI frameworks.
- Optimize live chat for better efficency.
@Tears 💧 (https://github.com/Ohtears)




