This Java project manages Clash cards using a PostgreSQL database. It provides functionalities for listing cards, adding new cards, modifying existing cards, and deleting cards.
- Java
- PostgreSQL
- JDBC
- Apache NetBeans IDE
The project consists of four main exercises aimed at demonstrating fundamental programming skills in Java and database management using PostgreSQL.
This exercise allows users to retrieve and display information about Clash cards stored in the database.
Users can add a new Clash card to the database by providing details such as name, level, rarity, and player ID.
In this exercise, users can modify existing Clash cards by updating their attributes such as name, level, rarity, and player ID.
Users have the option to delete Clash cards from the database based on their ID.
To run the project:
- Clone the repository to your local machine.
- Set up a PostgreSQL database named "clash" with appropriate tables and configurations.
- Open the project in Apache NetBeans IDE.
- Compile and run the
CardManager.java
file.
Note: Ensure to update the PostgreSQL database connection details in the code to match your local configuration.