SpinAI is built on Next.js 16 and deploys to Vercel with zero configuration beyond supplying the required environment variables. Vercel auto-detects the framework, handles the build pipeline, and provides a globally distributed edge network — making it the natural home for an internal team tool that needs to be reliably available every Friday.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/fmoraga01/SpinAI/llms.txt
Use this file to discover all available pages before exploring further.
Push your fork to GitHub
Make sure your fork of the SpinAI repository is pushed to GitHub and accessible from your Vercel account.
Import the repository in Vercel
Go to vercel.com, click Add New → Project, and select Import Git Repository. Choose your SpinAI fork from the list.
Confirm the framework preset
Vercel automatically detects Next.js as the framework. No changes to the build settings are required — the default preset works as-is.
Add environment variables
Before deploying, expand the Environment Variables section in the Vercel dashboard and add each of the following key-value pairs:
All variables are required. The app will not start correctly if any are missing.
| Variable | Description |
|---|---|
NEXT_PUBLIC_SUPABASE_URL | Your Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY | Your Supabase anonymous (public) API key |
PIN | The numeric PIN used to protect the app |
JWT_SECRET | Secret key used to sign the HttpOnly session cookie |
GMAIL_USER | Gmail address used by Nodemailer to send notifications |
GMAIL_PASS | Gmail app password for the above account |
CRON_SECRET | Shared secret that authorises GitHub Actions cron requests |
Click Deploy
Click the Deploy button. Vercel runs
npm run build (the standard Next.js build command — no custom configuration is needed) and publishes the app. The first deploy typically completes in under two minutes.Build command and output
SpinAI uses the standard Next.js build pipeline with no custom configuration innext.config.ts. Vercel resolves the build command automatically:
.next, which Vercel also detects automatically. There is no need to change either setting in the Vercel project configuration.
The free Vercel Hobby tier is fully sufficient for an internal team tool. SpinAI’s traffic profile — a handful of team members plus two scheduled cron calls per day — fits comfortably within the free tier’s bandwidth and function execution limits.