https://github.com/aristo-ifrn/movie-db
๐ฅ A Java-based movie manager system
https://github.com/aristo-ifrn/movie-db
java jdbc-driver mysql
Last synced: 2 months ago
JSON representation
๐ฅ A Java-based movie manager system
- Host: GitHub
- URL: https://github.com/aristo-ifrn/movie-db
- Owner: aristo-ifrn
- License: mit
- Created: 2024-11-20T00:27:57.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-26T20:56:23.000Z (6 months ago)
- Last Synced: 2025-02-07T23:25:15.653Z (4 months ago)
- Topics: java, jdbc-driver, mysql
- Language: Java
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
README
๐ฅ A Java Swing-based movie manager system integrated with a MySQL database.
## ๐งช Technologies
This project was developed using the following technologies:
- [Java 11+](https://dev.java/)
- [MySQL](https://www.mysql.com/)
- [Swing (GUI library)](https://docs.oracle.com/javase/8/docs/technotes/guides/swing/)Dependency used:
- [MySQL Connector/J](https://dev.mysql.com/downloads/connector/j/)
## ๐ง๐ปโ๐ป Getting Started
#### Clone the project and access the root folder:
```bash
$ git clone https://github.com/aristo-ifrn/movie-db
$ cd movie-db
```#### Setting up the environment:
1. Set up the database:
- Create a MySQL database with the required tables, using `db.sql` file.
2. Download the `.jar` file from the [official MySQL Connector page](https://dev.mysql.com/downloads/connector/j/).
- Add the `.jar` file to the project's classpath.
- Place the file in the `lib/` folder or configure it in your IDE.3. Project Configuration:
- Open the project in NetBeans or your preferred IDE.
- Configure database credentials in the `MovieDAO` file:```java
private static final String URL = "jdbc:mysql://localhost:3306/movie_db";
private static final String USER = "your_username";
private static final String PASSWORD = "your_password";
```#### Running the project:
- Execute the `Teste.java` class to launch the application.
- Ensure the MySQL server is running locally.
## ๐ปย Project
**Resume:** ๐ฅ A movie management system that allows you to register, update, delete, and query movies stored in a MySQL database.
#### ๐จย Project Structure
- `src/:` Contains the source code for the application.
- `lib/:` External dependencies like MySQL Connector/J.
- `build/:` Compiled Java files.
- `test/:` Unit tests for the application.#### ๐ย Features
- [x] Add new movies with details such as title, release year, duration, age rating, trailer URL, and image URL.
- [x] Edit movie records easily using a graphical interface.
- [x] Delete movies from the database.
- [x] Search movies by name or apply filters like release year or genre.
- [x] Improved error handling with user-friendly messages.
## ๐ง๐ปย Author
![]()
Aristofany Herderson