Skip to content

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

License

Notifications You must be signed in to change notification settings

FachschaftMathPhysInfo/kummerkasten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

191 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Kummerkasten

A software to collect feedback in educational groups and institutions

Quick Start

Caution

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

Prepare config

.env

Take the /.env and add your prefered credentials, host will most likely be postgres

config.json

Use the template at /docs/config.example.json and fill out all values but database, those can be left empty. system.mode must be either DEV or PROD. The first uses default data but as the credentials are public, it is not safe to deploy on a public server.

Launching the container

Now take the compose template at /docs/docker-compose.example.yml and change the values if needed. If you do not add the env to the app-service, the database part of the config must be filled out.

After Launch

Login to the software using the admin data provided in the config at domain/login. In the FAQ section you can change texts presented on the root-form. Further users can be added in the users tab.

Further help

The wiki is expanding and we will add more sophisticated guides and explanations there.

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. 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