A Cornell University sports betting app that allows students to place bets on student-athletes.
All In is a sports betting app built for Cornell University students, enabling them to place bets on student-athletes' performances. The application integrates with a MySQL database to store and manage betting data and is powered by Spring Boot.
Before setting up the project, ensure you have the following installed:
Create a new application.properties
file located in src/main/resources/
by copying the application.properties.template
file in the same directory. Run:
cp application.properties.template application.properties
Fill in the values in application.properties
for the fields below with your MySQL credentials:
spring.datasource.username
spring.datasource.password
Change spring.datasource.url
if you are not hosting a MySQL instance locally.
Enter the MySQL Shell by running:
mysql -u {MYSQL USERNAME} -p
Create the all_in database with:
CREATE DATABASE all_in;
Run:
mvn -N wrapper:wrapper
pip install pre-commit
./mvnw spring-boot:run
Swagger Docs API Documentation can be found at /swagger-ui/index.html