https://github.com/margato/bank
A bank application made with Java, Swing and JDBC
https://github.com/margato/bank
java jdbc swing
Last synced: over 1 year ago
JSON representation
A bank application made with Java, Swing and JDBC
- Host: GitHub
- URL: https://github.com/margato/bank
- Owner: margato
- Created: 2020-07-04T00:01:17.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-09-12T22:45:41.000Z (almost 6 years ago)
- Last Synced: 2025-01-21T14:16:20.657Z (over 1 year ago)
- Topics: java, jdbc, swing
- Language: Java
- Homepage: http://bit.ly/bank-swing
- Size: 6.28 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bank
This is a college work to develop a project using Java with Swing and JDBC.
Our goal was to develop a highly maintainable and read-easy code with the use of a micro framework created to help handling database manipulations and window management.
Mostly of our code structure (`core` package) was inspired by Spring Framework.
This project can be resumed as an bank interface where users can deposit, withdraw, transfer to other users, see and generate bank statements PDFs.
## Get started
In order to run this project, you will have to connect to a database (configurable in database.yaml).
We recommend Docker to set up the database with ease, you'll have to just run the commands below.
### Docker
Download MySQL image from docker hub
```bash
docker pull mysql
```
Run a container
```bash
docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=banco -e MYSQL_USER=root -e MYSQL_PASSWORD=root --name bankdb mysql
```
### Remote database
If you want to connect to a cloud, you can change the credentials in `database.yaml`
## After setting up database
Execute it with Maven or an IDE of your preference.
### Maven
```bash
mvn clean install
mvn exec:java -Dexec.mainClass="br.unesp.banco.Main"
```
### IDE
Run class `br.unesp.banco.Main`
## Do you want to know more about this project?
Read [this doc](https://docs.google.com/document/d/1sC_w8kpSBZUoDh3RFgNcpUPe031ZHfjgF4UuoFB_DKg).