criticalmass.in sammelt Fotos, Tracks und Informationen über weltweite Critical-Mass-Touren
Translation pending
SocialPHP · TwigGitHub @criticalmass-oneOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Main application for criticalmass.in
Translation pending
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
Eine Webplattform zur Koordination und Dokumentation von Critical-Mass-Fahrradtouren weltweit. Städte und Touren • Städteverzeichnis: Übersicht aller Städte mit Critical-Mass-Touren • Tourenkalender: Termine und Details zu allen geplanten Touren • Wiederkehrende Termine (Cycles): Automatische Generierung von Touren basierend auf Regeln (z.B. "jeden letzten Freitag im Monat") • Subrides: Unterstützung für Nebentouren und Zubringer • Regionen: Geografische Gruppierung von StädtenRead the full README ↗
Eine Webplattform zur Koordination und Dokumentation von Critical-Mass-Fahrradtouren weltweit.
/api//api/docintlsimplexmlfileinfoxmlwriterjsonzippdo_mysqlgit clone https://github.com/criticalmass-one/criticalmass-in.git
cd criticalmass-in
Die Datenbank und weitere Services werden via Docker bereitgestellt:
docker-compose up -d
Dies startet:
cp .env .env.local
Die .env.local nach Bedarf anpassen. Die Standardwerte funktionieren mit den Docker-Services.
composer install
yarn install
yarn build
Für die Entwicklung mit Hot-Reload:
yarn watch
# oder
yarn dev-server
# Datenbank-Schema erstellen
php bin/console doctrine:schema:create
# Optional: Fixtures laden (Testdaten)
php bin/console doctrine:fixtures:load
Mit Symfony CLI (empfohlen):
symfony serve
Oder mit PHP Built-in Server:
php -S localhost:8000 -t public/
Die Anwendung ist dann unter http://localhost:8000 erreichbar.
DATABASE_URL=mysql://criticalmass:[email protected]:8002/criticalmass
Für Social Login müssen entsprechende App-Credentials konfiguriert werden:
FACEBOOK_APP_ID=your_app_id
FACEBOOK_APP_SECRET=your_app_secret
STRAVA_CLIENT_ID=your_client_id
STRAVA_SECRET=your_secret
Für asynchrone Verarbeitung:
RABBITMQ_URL=amqp://guest:guest@localhost:5672
REDIS_URL=redis://localhost:6379
composer test
Dies führt folgende Schritte aus:
composer test:run
# oder
./vendor/bin/phpunit
composer test:api
criticalmass-in/
├── assets/ # Frontend-Assets (JS, CSS, Images)
├── bin/ # Konsolenbefehle
├── config/ # Symfony-Konfiguration
│ ├── packages/ # Bundle-Konfigurationen
│ └── routes/ # Routing-Konfiguration
├── docker/ # Docker-Volumes
├── public/ # Web-Root
│ ├── photos/ # Hochgeladene Fotos
│ └── tracks/ # Hochgeladene GPS-Tracks
├── src/
│ ├── Command/ # Konsolenbefehle
│ ├── Controller/ # HTTP-Controller
│ │ └── Api/ # REST-API-Controller
│ ├── Criticalmass/ # Domain-Logik
│ ├── Entity/ # Doctrine-Entities
│ ├── Form/ # Symfony-Formulare
│ ├── Menu/ # Menü-Builder
│ ├── Repository/ # Doctrine-Repositories
│ ├── Serializer/ # Serializer-Komponenten
│ └── Twig/ # Twig-Extensions
├── templates/ # Twig-Templates
├── tests/ # PHPUnit-Tests
├── translations/ # Übersetzungsdateien
└── var/ # Cache und Logs
# Cache leeren
php bin/console cache:clear
# Datenbank-Migrationen
php bin/console doctrine:migrations:migrate
# Routen anzeigen
php bin/console debug:router
# Services anzeigen
php bin/console debug:container
# Assets installieren
php bin/console assets:install public
Die REST-API ist unter /api/ verfügbar. Eine interaktive Dokumentation (Swagger/OpenAPI) findest du unter:
http://localhost:8000/api/doc
| Methode | Endpunkt | Beschreibung |
|---|---|---|
| GET | /api/city | Liste aller Städte |
| GET | /api/{citySlug} | Details einer Stadt |
| GET | /api/{citySlug}/{rideIdentifier} | Details einer Tour |
| GET | /api/ride | Liste von Touren |
| GET | /api/photo | Liste von Fotos |
| GET | /api/track | Liste von Tracks |
| POST | /api/estimate | Teilnehmerschätzung abgeben |
MIT License
Malte Hübner - [email protected]