No description
Find a file
Simon Kühn eea6119e36 Add admin user list view for simon@kuehn.de
- ADMIN_EMAIL env var controls who has admin access
- GET /api/admin/users returns all users (id, email, username, registered);
  returns 403 for non-admins
- GET /api/me now includes is_admin flag
- Menu shows "Nutzer/Users/Użytkownicy" button for admins that opens a
  table with name, email, and registration date for all users

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 10:06:14 +02:00
bin Add PHPUnit integration tests, remove legacy pre-Symfony files, fix password reset 2026-04-30 10:18:21 +02:00
config Add PHPUnit integration tests, remove legacy pre-Symfony files, fix password reset 2026-04-30 10:18:21 +02:00
docs Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
migrations Add DE/EN/PL i18n with browser-language detection and per-user override 2026-04-30 13:34:41 +02:00
public Add admin user list view for simon@kuehn.de 2026-05-01 10:06:14 +02:00
src Add admin user list view for simon@kuehn.de 2026-05-01 10:06:14 +02:00
templates Add admin user list view for simon@kuehn.de 2026-05-01 10:06:14 +02:00
tests Fix registration: auto-login after signup, atomic token consumption 2026-05-01 09:58:21 +02:00
.env Add admin user list view for simon@kuehn.de 2026-05-01 10:06:14 +02:00
.env.test Add PHPUnit integration tests, remove legacy pre-Symfony files, fix password reset 2026-04-30 10:18:21 +02:00
.gitignore Add PHPUnit integration tests, remove legacy pre-Symfony files, fix password reset 2026-04-30 10:18:21 +02:00
.htaccess Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
app.js Add admin user list view for simon@kuehn.de 2026-05-01 10:06:14 +02:00
CLAUDE.md Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
composer.json Add PHPUnit integration tests, remove legacy pre-Symfony files, fix password reset 2026-04-30 10:18:21 +02:00
composer.lock Add PHPUnit integration tests, remove legacy pre-Symfony files, fix password reset 2026-04-30 10:18:21 +02:00
deploy.sh Run deploy commands as www-data for correct file ownership 2026-04-29 20:39:27 +02:00
phpunit.dist.xml Add PHPUnit integration tests, remove legacy pre-Symfony files, fix password reset 2026-04-30 10:18:21 +02:00
README.md Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
symfony.lock Add PHPUnit integration tests, remove legacy pre-Symfony files, fix password reset 2026-04-30 10:18:21 +02:00

Dudi Durchzieh-Dienst

A lightweight habit & goal tracker PWA built with Symfony 8, Doctrine ORM, and vanilla JS.

Stack

  • Backend: Symfony 8, Doctrine ORM, Symfony Security, Symfony Mailer
  • Frontend: Vanilla JS SPA, HTML <template> elements, no build step
  • Database: MariaDB
  • Auth: Symfony Security with bcrypt, session + remember-me (24h)

Local Setup

composer install
cp .env .env.local   # then fill in real values
php bin/console cache:clear

Configure Apache to point to public/ as DocumentRoot (see docs/deployment.md).

Development

The app runs at http://dudi.local/ locally. An Apache VirtualHost and /etc/hosts entry are required.

127.0.0.1 dudi.local

Apache VirtualHost:

<VirtualHost *:80>
    ServerName dudi.local
    DocumentRoot "/path/to/dudi/public"
    <Directory "/path/to/dudi/public">
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

Deploy

bash deploy.sh

See docs/deployment.md for first-time server setup.