mirror of
https://github.com/LeRoid-hub/Bookholder-API.git
synced 2025-12-15 04:09:34 +00:00
| .github/workflows | ||
| config | ||
| database | ||
| examples | ||
| internal | ||
| server | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
Bookholder-API
Setup
For this project a PostgreSQL database is required.
Enviroment Vars
DB_USER = user
DB_PASSWORRD = password
DB_HOST = my.host
DB_PORT = 5432
DB_NAME = databasename # Optinal; bookholder is the default
SECRET = your32charactersecret
PORT = 8080 # Optional; 8080 is the default port
Example
Examples are found in the examples folder.