Skip to content

A simple social media post manager built in Java using JDBC and PostgreSQL.

License

Notifications You must be signed in to change notification settings

wesley-archives/chirpnest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐦 Chirpnest

A simple social media post manager built in Java using JDBC and PostgreSQL. This project was created as a learning tool to practice SQL operations, JDBC connections, and building a clean console-based CRUD app in Java, following the MVC pattern.

📖 Table of Contents

✨ Features

  • Basic CRUD operations for managing posts
  • Interactive terminal menu
  • Clean and modular Java code following the MVC structure
  • Uses JDBC for direct SQL execution
  • PostgreSQL database managed via Docker Compose
  • Clear separation of controllers, services, repositories, and entities
  • Built-in logging of SQL queries executed (via Hibernate)

🚀 Get Started

Prerequisites

  • Java 17+
  • Maven
  • Docker & Docker Compose

Running the project

  1. Clone the repository

    git clone https://github.com/wesleybertipaglia/chirpnest.git
  2. Navigate to the project directory

    cd chirpnest
  3. Start the database with Docker Compose

    docker-compose up -d
  4. Build the project

    mvn clean install
  5. Run the app

    mvn exec:java -Dexec.mainClass="com.wesleybertipaglia.Main"

📌 Usage Example

-------------------------------------
🐦 CHIRPNEST POST MENU
-------------------------------------

1. List all posts
2. View post details
3. Create a new post
4. Update a post
5. Delete a post
0. Exit

Choose an option: 1

--- Posts ---
📝 1 wesley 
My first post...

📝 2 wesley
Just another post...

🤝 Contributing

Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.

📄 License

This project is licensed under the MIT License. See the LICENSE file for more details.

Aqui está um modelo de README adaptado para o seu projeto Chirpnest!

About

A simple social media post manager built in Java using JDBC and PostgreSQL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages