Daily Log is a simple full-stack web application for tracking daily entries. It allows users to create, view, update, and delete short notes or activities through a minimal interface.
The project is primarily built as a learning sandbox to explore backend development, database integration, and frontend–backend communication.
- Create daily entries with optional tags
- View all saved entries in reverse chronological order
- Edit existing entries
- Delete entries
- Lightweight, minimal UI
- REST API backend
- Persistent storage using SQLite
- FastAPI
- SQLAlchemy ORM
- SQLite database
- Pydantic (v2) for validation
- Uvicorn ASGI server
- HTML5
- CSS3
- Vanilla JavaScript (Fetch API)
daily-log/
├── app/ # FastAPI application
├── db/ # Database models and logic
├── frontend/ # Static frontend (HTML/CSS/JS)
├── daily_log.db # SQLite database file
├── pyproject.toml # Dependencies (uv/pip)
├── uv.lock
└── README.md
GET /check → health check
POST /entries → create entry
GET /entries → list all entries
PUT /entries/{id} → update entry
DELETE /entries/{id} → delete entry
- Start backend
uvicorn app.main:app --reload
# Backend runs at: http://127.0.0.1:8000
# API docs: http://127.0.0.1:8000/docs- Start frontend
cd frontend
python -m http.server 5500
# Frontend runs at: http://127.0.0.1:5500