Look at here.
This project adopts multi-module with simplified Clean Architecture.
Requests & responses to/from this are represented a json on REST API mainly.
{
"name": "blackbracken",
"email": "me@example.com",
"password": "cD1eP6FE"
}
Response HTTP status code is 200 if succeed otherwise 401 or 403.
{
"token":"0ab1f1d2-d296-48c3-aa59-8ca6da6958d2"
}
{
"reason": "Request parameter didn't validate."
}
TODO: create Makefile
./gradlew shadowJar
docker build -t jukepot-server .
docker run -e "DB_HOST=localdev" -e "DB_DATABASE=jukepot" -e "DB_USER=<user>" -e "DB_PASSWORD=<password>" --add-host=localdev:<local-ip> -p=80:80 jukepot-server