Case Study
Building an Auth API with Supabase
Personal project. As part of my FlyRank AI internship, this was my first time building a backend authentication service built to practice authentication using Supabase.
C:\CASE_STUDY_VIEWER.EXE
Overview
A Next.js backend that handles real authentication instead of routes that just pretend to check things. It uses Supabase for sign up, log in, and log out, hands out JWT tokens, and locks down protected routes behind them. No valid token in the Authorization header means a 401, no exceptions.
Highlights
- Real Supabase-backed signup, login, and logout with JWT issuance
- Protected routes verified server-side, not just gated on the client
- Interactive Swagger UI at /docs for testing without external tools
- .env-based config kept out of version control by default