No description
- Delete legacy root files (api.php, index.php, app.js, style.css, logo.png, include/) - Install symfony/test-pack, add 34 integration tests covering auth, goals, invites, register, password reset - Fix bug: users_resets.selector was varchar(20) but controller generates 24-char selectors; widen to varchar(64) - Remove doctrine dbname_suffix from test env (tests run against live DB, cleanup via tearDown) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| bin | ||
| config | ||
| docs | ||
| migrations | ||
| public | ||
| src | ||
| templates | ||
| tests | ||
| .env | ||
| .env.test | ||
| .gitignore | ||
| .htaccess | ||
| CLAUDE.md | ||
| composer.json | ||
| composer.lock | ||
| deploy.sh | ||
| phpunit.dist.xml | ||
| README.md | ||
| symfony.lock | ||
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.