A small self hosted demo to manage issues, track daily insights, and maintain project visibility โ fast, clean, and extensible.
๐ก Built with simplicity in mind, but ready for scale.
Includes demo login and postgres connectivity with tracker table. Google OAuth in backend
| Layer | Stack |
|---|---|
| Backend | FastAPI (Python 3.11), SQLAlchemy, Pydantic |
| Frontend | Svelte + Vite |
| Database | PostgreSQL 15 |
| Auth | Demo Login (Google OAuth - planned) |
| Dev Tools | Docker, Docker Compose |
project-root/ โโโ backend/ โ โโโ main.py # FastAPI entrypoint โ โโโ models.py # SQLAlchemy models โ โโโ schemas.py # Pydantic validation โ โโโ crud.py # DB logic โ โโโ database.py # Session + engine โ โโโ requirements.txt # Python deps โ โโโ tests/ โ โโโ test_main.py # Pytest sample โโโ frontend/ โ โโโ src/ โ โ โโโ App.svelte โ โ โโโ main.js โ โ โโโ routes/ โ โ โโโ Issues.svelte โ โ โโโ Tracker.svelte โ โโโ public/ โ โ โโโ index.html โ โโโ package.json โ โโโ vite.config.mjs โโโ docker-compose.yml โโโ README.md
โโโโโโโโโโโโโโ HTTP/API โโโโโโโโโโโโโโโ โ Svelte โ โโโโโโโโโโโโถ โ FastAPI โ โ Frontend โ โ Backend โ โโโโโโโโโโโโโโ โโโโโโฌโโโโโโโโโ โ โผ โโโโโโโโโโโโโโ โ PostgreSQL โ โโโโโโโโโโโโโโ
/api/* routes from FastAPI-Calls tracker API route for postgres
docker compose up --build
Frontend: http://localhost:5173
Backend: http://localhost:8000
PostgreSQL exposed at port 5432
๐งช Run Tests
cd backend
pytest
๐งช Tracker API Sample
GET /api/tracker-stats
[
{ "date": "2025-07-01", "open": 5, "triaged": 3 },
{ "date": "2025-07-02", "open": 4, "triaged": 2 },
{ "date": "2025-07-03", "open": 6, "triaged": 4 }
]
Fallback sample is shown if backend is unreachable.
๐ Demo Notes
๐ Login is currently simulated โ use any username/password
โณ Tracker includes a 3-second loading screen
๐ Dark/light mode toggle included
๐
Tracker shows open/triaged per day
๐ง Easily extensible with Google OAuth / JWT / more APIs
๐ Contributing
Pull requests welcome! Please keep commits clean and include clear descriptions.
To contribute:
Fork the repo
Create a feature branch
Open a PR when ready
๐ License
MIT โ free to use, share, and adapt.