1
0
Fork
You've already forked Trollsystem
0
Helfendenverwaltungstool mit Gulaschgeschmack
  • Rust 93.4%
  • Nix 6.3%
  • Dockerfile 0.3%
2026年04月30日 01:53:54 +02:00
.cargo make all checks pass 2026年03月15日 21:17:44 +00:00
.config Rename troll db db 2026年04月28日 20:44:16 +02:00
crates Merge branch 'main' into shift-db 2026年04月30日 01:53:54 +02:00
.dockerignore Add docker-compose 2026年03月22日 08:24:59 +01:00
.editorconfig more wip 2026年03月14日 18:15:27 +00:00
.envrc initial commit 2026年03月07日 23:38:39 +00:00
.gitignore notif server 2026年04月25日 17:34:06 +02:00
Cargo.lock Merge branch 'main' into shift-db 2026年04月30日 01:53:54 +02:00
Cargo.toml initial commit 2026年03月07日 23:38:39 +00:00
compose.yml Merge branch 'main' into shift-db 2026年04月30日 01:53:54 +02:00
deny.toml fix: make more tests pass again 2026年04月25日 20:06:10 +00:00
Dockerfile feat: start shiftdb with docker 2026年04月20日 21:54:02 +02:00
flake.lock initial commit 2026年03月07日 23:38:39 +00:00
flake.nix Merge branch 'main' into shift-db 2026年04月30日 01:53:54 +02:00
LICENSE initial commit 2026年03月07日 23:38:39 +00:00
README.md Add docker-compose 2026年03月22日 08:24:59 +01:00
taplo.toml more wip 2026年03月14日 18:15:27 +00:00

Trollsystem

Helfendenverwaltungstool mit Gulaschgeschmack

Start via Docker Compose

For development purposes, a docker compose setup is provided to allow building running the microservices in a simple and reproducible fashion. You may need to install Docker on your system

Run the following command to start the backend microservices and database:

docker compose up

Or, if you want to rebuild:

docker compose up -d --build

To shut the containers off:

docker compose down

Further usage

You can register a sample user by calling the API using curl. The command will return null the first time it is run and an error on subsequent calls.

curl -X POST http://localhost:8080/register \
 -H "Content-Type: application/json" \
 -d '{
 "username": "testuser",
 "email": "test@example.com",
 "password": "password123",
 "allow_notifications": false,
 "allow_keep_data": false
 }'

You can then list the registered users:

docker compose exec database psql -U postgres -d trollsystem-auth -c "SELECT * FROM users;"