Skip to content

FachschaftMathPhysInfo/kummerkasten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Kummerkasten

A software to collect feedback in educational groups and institutions

Getting Started

Caution

The software is currently only available in german but we are working on implementing general i8n

Deployment with docker-compose

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

Environment Variables

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.

Development

Frontend

Switch into the frontend directory and run

npm i
npm run generate
npm run dev

Backend

After installing general golang and dependencies run

cp .env .env.local

and fill out the configurations as desired. Afterwards run:

cd server
export $(cat ../.env.local)
docker compose up -d
go generate ./...
go run server.go

now the frontend and api are available at port 8080

Testing

We provide E2E tests in frontend/cypress, to use them run

cd frontend
npm run test

Contributing

  1. Create an Issue or assign an existing one to yourself
  2. Create a branch
  3. Open a PR
  4. Please dont assign people to PRs if not previously discussed with them
  5. Be happy <3

About

Der anonyme Kummerkasten zum senden und verwalten von Beschwerden und Feedback aller Art

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages