Build with SpringBoot
- SpringBoot
- Spring Data Jpa
- Spring Security
- Mysql
- Lombok
- Guava
- Firebase Admin SDK
Remember to change the application.yml
The mysql address should be changed to your own.
# please create a new database, name is up to you, for example: serve-me
# and set your environment param
export DB_URL=mysql://{ipaddress}:{port}/{database}?characterEncoding=utf8&autoReconnect=true&useSSL=false
export DB_USER={user}
export DB_PASSWORD={password}
export GOOGLE_APPLICATION_CREDENTIALS={path}
# for example:
# DB_URL=mysql://localhost:3306/serve-me?characterEncoding=utf8&autoReconnect=true&useSSL=false
# ipaddress is localhostm, port is 3306, database is serve-me
# DB_USER=root
# DB_PASSWORD=123456
# GOOGLE_APPLICATION_CREDENTIALS=/path/to/firebase-admin-sdk-credentials.json
{user} is your sql username
{password} is sql password
{ipaddress} is sql address, local machine is localhost
{port} is sql port, usually is 3306