Skip to content

computbiol/fastapi-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastapi-auth

Production-oriented authentication scaffold for a FastAPI + Next.js stack.

Status

This repository now contains:

  • a FastAPI backend scaffold with cookie auth, refresh sessions, CSRF protection, SMTP email hooks, and OAuth entry points
  • a Next.js frontend scaffold for login, registration, password flows, profile, and API key management
  • docker-compose orchestration with PostgreSQL and a reverse proxy
  • pixi-based Python environment management and Alembic migrations

Quick start

  1. Copy .env.example to .env and fill in SMTP settings, app secrets, and OAuth credentials.
  2. Start the stack with docker-compose up --build.
  3. Open http://localhost:8080.

Backend API

  • Health check: /api/health
  • OpenAPI docs: /api/docs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors