Java code implementing a simplified version of the Twitter concept using classes: user, tweet, and Twitter operations.
Before running the project, ensure that you have installed the following software:
- Clone the repository to your local machine using Git:
git clone https://github.com/<username>/<repository-name>.git
- Open IntelliJ IDEA and select "Open Project" from the main menu.
- Navigate to the directory where the cloned repository is stored and select the pom.xml file to open the project.
To use the project, perform the following steps:
- Open the Twitter.java file in IntelliJ IDEA.
- Run the main() method in the Twitter class.
- The program will start running and prompt you for input to create new tweets, delete tweets, edit tweets, follow other users, and view followers.
- Use the prompts to test the various functions of the Twitter clone.
If you want to build the project from the command line using Maven, you can use the following commands:
-
Navigate to the directory where the pom.xml file is stored.
-
Use the mvn clean install command to build the project and generate a JAR file in the target/ directory.
-
Use this command to run the JAR file.
java -jar target/<JAR-file-name>
- User login and registration using JSP pages (coming soon).
- Improved user interface with JSP pages for creating and viewing tweets (coming soon)
- Adding the ability to follow and unfollow other users using JSP pages (coming soon).
- Updating the Tweet class to include hashtags and mentions (coming soon).
- Adding a search function for tweets based on hashtags and mentions (coming soon).
- Integration with a database to store user and tweet data (coming soon).