Skip to content

TylerPetri/smartnotes-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartNotes ✨ (in-progress)

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.

FastAPI Python PostgreSQL Ollama


🚀 Features

  • 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

🛠 Tech Stack

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

🏃 Quick Start

1. Backend

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/docs

2. AI (Ollama) - Switched from OpenAI since I spent my credits money on a gundam instead

Currently having issues with local M1 chip, removed AI and placed fallback for now

# Install Ollama → https://ollama.com/download
ollama pull llama3.2

About

AI-Powered Note Taking & Habit Insights

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors