No description
- Dart 73.4%
- Python 17.5%
- Dockerfile 8.5%
- Kotlin 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| app | ||
| backend | ||
| .gitignore | ||
| compose.dev.yml | ||
| compose.yml | ||
| README.md | ||
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.