Poker Caddy is a simple poker bankroll manager. It has a Spring Boot backend, a React frontend, and MySQL data storage. The system can be run following the instructions below in order. The Spring Boot application will run with errors if you attempt to start it without following these steps.
- Follow the instructions here to install MySQL Server on your platform of choice
- Set up a password for MySQL using the instructions from step 1
- Run
CREATE DATABASE db_pokercaddy;
in MySQL
- Uncomment
#spring.datasource.password=ENTER YOUR PASSWORD
in application.properties and enter the password you set for MySQL - Use
./mvnw spring-boot:run
to start the Spring Boot application - (optional) To deploy to ec2 add
server.port=80
to application.properties and usesudo ./mvnw spring-boot:run
to run the application
- The first time you run the react application, use
npm install
to install the necessary dependencies - Use
npm run-script watch
to start the react application, the react frontend will automatically update on changes