Project overview
Next.js starter with Supabase auth
A reusable base for static and server-rendered apps that need sign-in, row-level access, and a small end-to-end example. The calculator is the reference surface—it exercises auth, evaluation, and history storage without extra product chrome.
Reference UI
42
(6 + 4) × 3 + 12
C
⌫
(
)
7
8
9
÷
4
5
6
×
1
2
3
−
0
.
+
=
Repository map
What is included
Main layers in this template and the role each one plays when you extend the project.
| Layer | Implementation | Role |
|---|---|---|
| Authentication | Email + Google OAuth | Server sessions; middleware refreshes cookies on each request |
| Data layer | Supabase + RLS | Profiles and per-user calculator history |
| Reference UI | Calculator | Expression evaluation with optional persistence |
| Operations | Vercel + migrations | Env-driven config; SQL migrations in repo |