Skip to content

wim07101993/score

Repository files navigation

Score

Application to manage sheet-music.

Authentication

Authentication can be done using any OIDC provider. We use Zitadel in the docker-compose file but any OIDC server. Roles are checked using getting the user-info from the idp.

Development

Requirements

  • GoLang version see go.mod file
  • Docker
    • Tool for running software containers
    • $ go install github.com/golang-migrate/migrate/v4/cmd/migrate@latest

Running

$ source backend/scripts/set_env_vars.sh
$ go run backend/cmd/server/*

Database

The database is an SQLite file.

Add migrations

$ backend/scripts/create_migration.sh $NAME_OF_YOUR_MIGRATION

Run migrations

$ backend/scripts/run_migrations.sh

Deployment

Frontend

Ensure config.js is modified to contain the correct client-id and uri's.

Client must be configured to use an Authorization code grant with PKCE with refresh tokens enabled. The redirect uri of the web-application is the root. (see example configs).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •