/Songbook

Primary LanguageJavaApache License 2.0Apache-2.0

Projector

Auto-generated OpenAPI spec and Swagger Interactive API documentation

The entire API is documented according to the OpenAPI specification. The spec is auto-generated from the source code and is available on the following URLs:

Dev DB (Docker-Compose)

There is a docker-compose.yml file in the root of the project that can be used to start a MySQL database for development purposes.

  1. Install Docker and Docker Compose
  2. Run docker-compose up -d to start the database
  3. Run the backend application with the spring.jpa.hibernate.ddl-auto application property (./Projector-server/src/main/resources/application.properties) set to create
  • NOTE: please do not commit this change, as it may bring some unintended consequences on the production database!
  1. Kill the application (if it's not already killed by an error)
  2. Reset the spring.jpa.hibernate.ddl-auto property to none
  3. Run the application again normally

These steps are necessary because the database is not initialized with the necessary tables when the application is started for the first time.