A system for managing bank accounts, developed using Java, Spring Boot, PrimeFaces, and MySQL.
- List bank accounts: View the accounts stored in the database.
- Add new accounts: Create records for new bank accounts.
- Edit accounts: Update the details of existing accounts.
- Delete accounts: Remove bank accounts from the system.
- Balance management: Record and update account balances.
Before getting started, make sure you have the following installed:
- Java Development Kit (JDK):
- Recommended version:
17
or higher.
- Recommended version:
- Apache Maven:
- To manage dependencies and build the project.
- MySQL Server:
- Ensure the service is running.
- Create a database named
accounts_db
or let the system generate it automatically.
- Web Browser:
- To access the user interface.
- Java IDE (optional):
- Recommended: IntelliJ IDEA or Eclipse.
Follow these steps to install and run the project:
- Clone the repository to your local machine:
git clone https://github.com/javier04s/Bank-Management cd accounts
- Check the versions in the
pom.xml
file:
- Adjust the versions if necessary to match your environment.
- Configure the database connection in
src/main/resources/application.properties
:spring.datasource.url=jdbc:mysql://localhost:3306/accounts_db?createDatabaseIfNotExist=true spring.datasource.username=<your_username> spring.datasource.password=<your_password>
- Build the project using Maven:
mvn clean install
- Run the project:
mvn spring-boot:run
- Access the application in your browser:
- Backend: Java, Spring Boot, Hibernate
- Frontend: PrimeFaces, Jakarta Faces
- Database: MySQL
- Web Server: Embedded Tomcat
- To change the server port, modify the following property in
application.properties
:server.port=8081
- Make sure your MySQL user has permissions to create and modify databases.
- Ensure all dependencies in the
pom.xml
file are resolved before building the project.
Contributions are welcome! If you'd like to improve this project, feel free to:
- Fork the repository.
- Create a new branch (
feature/new-feature
). - Make your changes.
- Submit a Pull Request.
- Developer: Javier Delmoral
- Email: [email protected]
This project is licensed under the MIT License.