Skip to content

Implementing a simplified version of the Twitter concept using classes: user, tweet, and Twitter operations.

License

Notifications You must be signed in to change notification settings

oussama-zbair/java-twitter-simplified

Repository files navigation

java-twitter-simplified

Java code implementing a simplified version of the Twitter concept using classes: user, tweet, and Twitter operations.

Prerequisites

Before running the project, ensure that you have installed the following software:

IntelliJ IDEA Apache Maven Java

Installation

  1. Clone the repository to your local machine using Git:
git clone https://github.com/<username>/<repository-name>.git
  1. Open IntelliJ IDEA and select "Open Project" from the main menu.
  2. Navigate to the directory where the cloned repository is stored and select the pom.xml file to open the project.

Usage

To use the project, perform the following steps:

  1. Open the Twitter.java file in IntelliJ IDEA.
  2. Run the main() method in the Twitter class.
  3. The program will start running and prompt you for input to create new tweets, delete tweets, edit tweets, follow other users, and view followers.
  4. Use the prompts to test the various functions of the Twitter clone.

Building with Maven

If you want to build the project from the command line using Maven, you can use the following commands:

  1. Navigate to the directory where the pom.xml file is stored.

  2. Use the mvn clean install command to build the project and generate a JAR file in the target/ directory.

  3. Use this command to run the JAR file.

java -jar target/<JAR-file-name>

Future Updates (In progress)

  • 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).

About

Implementing a simplified version of the Twitter concept using classes: user, tweet, and Twitter operations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages