Caution
The software is currently only available in german but we are working on implementing general i8n
The software is best deployed in a dockerized environment. We provide docker-compose.example.yml as a plug and play file,
which can be used to quickly deploy the software via:
docker compose up -d
The example file can be found in /docs
| Key | Description | Default | Example |
|---|---|---|---|
POSTGRES_USER |
User which the database connects with | - | kummer |
POSTGRES_PASSWORD |
Password of the postgres user | - | - |
POSTGRES_HOST |
Host of the database, for docker-compose deployments, use the container name | - | postgres |
POSTGRES_PORT |
Postgres-DB Port | - | 5432 |
POSTGRES_DB |
Name of the database | - | kummerkasten |
ENV |
Mode of environment, either PROD or DEV |
PROD |
DEV |
PEPPER |
Optional pepper for password hashing | - | - |
PUBLIC_DOMAIN |
domain on which the software is deployed | - | kummerkasten.de |
Caution
Changing the Pepper value after already having users will inevitably corrupt the hashing and make it impossible to authenticate. Changing it back will fix already existing hashes but will in turn corrupt new ones again.
Switch into the frontend directory and run
npm i
npm run generate
npm run dev
After installing general golang and dependencies run
cp .env .env.localand fill out the configurations as desired. Afterwards run:
cd server
export $(cat ../.env.local)
docker compose up -d
go generate ./...
go run server.gonow the frontend and api are available at port 8080
We provide E2E tests in frontend/cypress, to use them run
cd frontend
npm run test- Create an Issue or assign an existing one to yourself
- Create a branch
- Open a PR
- Please dont assign people to PRs if not previously discussed with them
- Be happy <3