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
.
+
=
Static preview of the built-in calculator interface

Repository map

What is included

Main layers in this template and the role each one plays when you extend the project.

LayerImplementationRole
AuthenticationEmail + Google OAuthServer sessions; middleware refreshes cookies on each request
Data layerSupabase + RLSProfiles and per-user calculator history
Reference UICalculatorExpression evaluation with optional persistence
OperationsVercel + migrationsEnv-driven config; SQL migrations in repo