No description
  • Dart 73.4%
  • Python 17.5%
  • Dockerfile 8.5%
  • Kotlin 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-23 18:32:02 +02:00
app Tweaks 2026-10-22 15:33:31 +02:00
backend Tweaks 2026-10-23 18:32:02 +02:00
.gitignore Init 2026-10-21 21:33:55 +02:00
compose.dev.yml Stuff 2026-10-22 15:32:19 +02:00
compose.yml Init 2026-10-21 21:33:55 +02:00
README.md Init 2026-10-21 21:33:55 +02:00

remind-me

A small self-hosted notes/reminders app: a Flutter client talking to a FastAPI backend that stores notes in SQLite.

remind-me/
├── app/       # Flutter client
└── backend/   # FastAPI + SQLModel server

Backend

Python 3.12, managed with uv.

Configuration

Every request must send an api-key header matching the API_KEY environment variable. Set it in backend/.env:

API_KEY=change-me

Notes are stored in sqlite.db in the working directory; the database and tables are created on startup.

Run locally

cd backend
uv sync
uv run fastapi dev main.py

Run with Docker

cd backend
docker build -t remind-me-backend .
docker run -p 8000:8000 --env-file .env remind-me-backend

The database lives at /app/sqlite.db inside the container and is lost when the container is removed.

API

Method Path Description
GET /auth Returns 200 if the API key is valid
GET /note List all notes
POST /note Create a note: {"text": "..."}
DELETE /note/{note_id} Delete a note

Interactive docs are available at /docs while the server is running.

App

Flutter (Dart SDK ^3.13.3).

cd app
flutter pub get
flutter run --dart-define-from-file=config/dev.json    # http
flutter run --dart-define-from-file=config/prod.json   # https

The config file only selects the protocol used to reach the server. The server address (e.g. 192.168.1.10:8000) and API key are entered in the app's settings and kept in secure storage.