Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 (6 months ago)
- Default Branch: develop
- Last Pushed: 2024-08-29T03:00:12.000Z (5 months ago)
- Last Synced: 2024-08-29T07:32:19.082Z (5 months 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: 347 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![image](https://github.com/user-attachments/assets/46cde35d-9aa7-4abb-ab31-3a06c6bb21b5)
- 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 pathset 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
```