No description
Find a file
Simon Kühn 7ea6aeb98c Add API loading indicator and session-expiry auto-redirect
- Thin animated bar at page top shows while any fetch is in-flight
- api() centrally redirects to login on 401 (except login endpoint)
- Logo click triggers manual goal refresh
- cursor:pointer on logo

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 12:48:01 +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 Remove legacy root app.js, update docs 2026-05-01 10:09:17 +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 API loading indicator and session-expiry auto-redirect 2026-05-07 12:48:01 +02:00
src Invite improvements: cap pending at 10, sort by status, hide old expired 2026-05-01 10:22:16 +02:00
templates Add API loading indicator and session-expiry auto-redirect 2026-05-07 12:48:01 +02:00
tests Invite improvements: cap pending at 10, sort by status, hide old expired 2026-05-01 10:22:16 +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
CLAUDE.md Remove legacy root app.js, update docs 2026-05-01 10:09:17 +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.