Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

💽 An experimental server-side application to manage music files

Notifications You must be signed in to change notification settings

blackbracken/jukepot-server

Repository files navigation

Jukepot-server

Development

route of requests

Look at here.

module layers

This project adopts multi-module with simplified Clean Architecture.

error handling

Requests & responses to/from this are represented a json on REST API mainly.

example: requests
{
  "name": "blackbracken",
  "email": "me@example.com",
  "password": "cD1eP6FE"
}
example: responses

Response HTTP status code is 200 if succeed otherwise 401 or 403.

{
  "token":"0ab1f1d2-d296-48c3-aa59-8ca6da6958d2"
}
{
  "reason": "Request parameter didn't validate."
}

Run to debug

TODO: create Makefile

  1. ./gradlew shadowJar
  2. docker build -t jukepot-server .
  3. 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

About

💽 An experimental server-side application to manage music files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published