Focus App
Focus App is a small todo application for daily tasks. It stays deliberately simple: one list, fast editing, drag and drop ordering, and no accounts or collaboration features to get in the way.
The main todo view, with tasks that can be reordered by drag and drop.
Features
- Create, edit and delete tasks with a title and an optional description.
- Reorder tasks by drag and drop, with the order persisted in the database.
- Responsive layout for desktop and mobile.
- REST API behind the frontend, so other tools can read or change tasks later.
Architecture
- Frontend, React and TypeScript built with Vite.
- Backend, ASP.NET Core with Entity Framework Core.
- Database, MariaDB in the central LXC container.
- Container, a multi-stage Docker build that combines the Node frontend build with the .NET runtime.
- CI/CD, GitHub Actions builds the image, pushes it to GHCR and cleans up old image versions.
API and data
The API exposes CRUD endpoints under /api/focustasks for listing, creating, updating and deleting tasks. In production the data lives in MariaDB, with an initialization script for the database and service user. Without a configured database the app falls back to a local SQLite demo mode with sample tasks.
Security and deployment
In the homelab the app runs behind nginx and Authelia, so the UI and API are not exposed directly. The container listens on port 5000 and is configured entirely through environment variables for the database connection. The image comes from GHCR and is updated through the usual container workflow.
See the Focus App repository for the database init script, environment variables and compose setup. The app is also linked from the home dashboard.
Task contents are personal and are not published here. The screenshot uses demo data.