Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oussama-zbair/java-twitter-simplified

Implementing a simplified version of the Twitter concept using classes: user, tweet, and Twitter operations.
https://github.com/oussama-zbair/java-twitter-simplified

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://img.shields.io/badge/Apache%20Maven-C71A36?style=for-the-badge&logo=Apache%20Maven&logoColor=white) Java

## Installation
1. Clone the repository to your local machine using Git:
```
git clone https://github.com//.git
```
2. Open IntelliJ IDEA and select "Open Project" from the main menu.
3. 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.
3. Run the main() method in the Twitter class.
5. The program will start running and prompt you for input to create new tweets, delete tweets, edit tweets, follow other users, and view followers.
7. 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/
```

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