https://github.com/lcaohoanq/springboot-snake-game
Spring Boot Application for Snake Game
https://github.com/lcaohoanq/springboot-snake-game
back-end docker docker-compose hibernate-jpa java mysql pbkdf2 rest-api slf4j spring spring-boot spring-data-jpa webservices
Last synced: 5 months ago
JSON representation
Spring Boot Application for Snake Game
- Host: GitHub
- URL: https://github.com/lcaohoanq/springboot-snake-game
- Owner: lcaohoanq
- License: mit
- Created: 2024-07-27T09:44:36.000Z (almost 2 years ago)
- Default Branch: develop
- Last Pushed: 2024-10-05T03:02:01.000Z (over 1 year ago)
- Last Synced: 2025-04-10T05:04:21.411Z (about 1 year ago)
- Topics: back-end, docker, docker-compose, hibernate-jpa, java, mysql, pbkdf2, rest-api, slf4j, spring, spring-boot, spring-data-jpa, webservices
- Language: Java
- Homepage:
- Size: 400 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

- Before start the project, ensure run the below command to establish the database connection
```bash
docker-compose up
```
- To start the project, run the below command
```bash
mvn clean install
mvn spring-boot:run
```
- `data.sql` is auto generated by enter the command below
```bash
# Verify mysql installation path
set path=C:\Program Files\MySQL\MySQL Server 8.0\bin
# mysqldump -h localhost -P -u -p mysql_starter > .sql
mysqldump -h localhost -P 3308 -u root -p mysql_starter > data.sql
# Enter password: ************
```
- I have the extra profiles in the `application-xampp.properties` file. To run the project with the specific profile, run the below command
```bash
mvn spring-boot:run -Dspring-boot.run.profiles=xampp
```