AI-Powered Note Taking & Habit Insights
Built with FastAPI + PostgreSQL + Local AI (Ollama)
A modern full-stack note-taking application that automatically generates smart summaries and tags using AI. Perfect demonstration of clean architecture, async Python, and real AI integration.
- User Authentication (JWT)
- CRUD Notes with ownership protection
- AI Auto-Summary + Smart Tagging (powered by Ollama - fully local & free)
- Async FastAPI backend with SQLAlchemy 2.0
- Fully Typed (mypy + Pydantic)
- Docker Ready (PostgreSQL + App)
- Production-grade structure
Backend
- FastAPI (Python 3.11+)
- SQLAlchemy 2.0 + AsyncPG
- PostgreSQL
- JWT Authentication
- Ollama (Local LLM)
Frontend
- React
DevOps
- Poetry
- Docker + docker-compose
- Alembic Migrations
- Render / Fly.io ready
cd backend
# Install dependencies
poetry install
# Start PostgreSQL
docker compose up -d postgres
# Start the API
poetry run uvicorn app.main:app --reload
Open: http?//127.0.0.1:8000/docsCurrently having issues with local M1 chip, removed AI and placed fallback for now
# Install Ollama → https://ollama.com/download
ollama pull llama3.2