Skip to content

turtlecode/Build-a-Notes-App-in-Python-with-FastAPI-Supabase-Authentication-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 Notes App with Python, FastAPI & Supabase

🎥 [Watch the full YouTube tutorial here] (https://un5hgz1xtk5y2.julianrbryant.com/ryvBJU4QqVg)

This project is a simple note-taking web app built with Python, FastAPI, and Supabase

It supports
✅ User Registration & Login with Supabase Auth
✅ Add, List, and Delete Notes (CRUD)
✅ Secure Session Handling
✅ Clean UI with HTML and CSS


🚀 Features

  • Register and login with Supabase authentication
  • Create and delete notes linked to the logged-in user
  • Session-based authentication using cookies
  • Minimal and responsive UI with HTML and CSS

📦 Full Setup & Run (All-in-One)

Copy and run all the commands below in your terminal:

# Clone the repository
git clone https://github.com/your-username/notes-app-fastapi-supabase.git
cd notes-app-fastapi-supabase

# Create a virtual environment
python -m venv venv

# Activate virtual environment (macOS/Linux)
source venv/bin/activate

# Activate virtual environment (Windows)
venv\Scripts\activate

# Install dependencies
pip install fastapi uvicorn supabase python-dotenv itsdangerous jinja2

# Create .env file (you can edit it with your favorite editor)
echo "SUPABASE_URL=your-supabase-url" >> .env
echo "SUPABASE_KEY=your-service-role-key" >> .env
echo "SECRET_KEY=your-secret-key" >> .env

# Run the app
python -m uvicorn main:app --reload

# Open in your browser: https://127.0.0.1:8000

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors