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

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

Awesome Lists containing this project

README

        




Movie DB








Version


License


Java

๐ŸŽฅ 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


Aristofany Herderson




linkedin


linkedin


linkedin