33d07ef75347513335f84b0d24ddf529478699fa
East Guilan CE
Full-stack portal for the East Guilan Computer Engineering Association. The repo hosts a Django/Ninja API backend and a Vite + React + shadcn UI frontend, both orchestrated via Docker Compose.
Overview
- Backend: Django + Ninja-based REST API, PostgreSQL, Redis, Celery, Traefik routing, and Prometheus/metrics.
- Frontend: Vite + React 18 with TanStack Query, shadcn/ui components, RTL layout, and staff-only admin tooling.
- Dev surface:
docker-compose.ymlbrings up Traefik, PostgreSQL, Redis, Django (web/worker/beat), frontend, static/nginx, Prometheus exporters, etc.
Architecture
- API layer (
backend/api) exposes auth, blog, event, gallery, payment, and communication routers with Ninja schemas. JWT authentication protects secured routes. - Django apps (
users,blog,events,payments,gallery, etc.) provide models, management commands, and async tasks/Celery workers. - Frontend (
frontend/) consumes the API, handles login flows, event listings, the admin dashboard, rich markdown rendering, and sonner toasts.
Getting started
- Copy
.env.exampleto.envand configure secrets. docker compose up --buildto start the full stack.- Backend tests:
docker compose exec backend python manage.py test --settings=config.settings.test. - Frontend dev:
docker compose exec frontend npm run dev -- --host.
Screenshots
Main pages:
User/Admin Dashboard:
Event Pages:
Blog Pages:
Soon...
See the backend/README.md and frontend/README.md for detailed instructions.
Languages
Python
50.5%
TypeScript
43.1%
HTML
4.2%
JavaScript
1%
CSS
0.8%
Other
0.4%





