Skip to content

itbanque/Qualix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qualix

Quality control backend (FastAPI + PostgreSQL + OAuth + JWT)

Setup

  1. Install dependencies:
    • cd backend && uv sync
  2. Copy environment file:
    • cd backend && cp .env.example .env
    • configure DATABASE_URL, SECRET_KEY, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET
  3. Run app:
    • cd backend && uv run uvicorn app.main:app --reload --host 0.0.0.0 --port 8000

API Endpoints

  • GET / health
  • POST /auth/token (local form auth)
  • GET /auth/google/login -> Google OAuth consent
  • GET /auth/google/callback -> returns JWT
  • GET /auth/me (Bearer token)

DB migration

  • cd backend && uv run alembic upgrade head

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors