Vercel & Free Database Setup Guide

1x1 Invisible Pixel

100% Free Stack & Vercel Deployment Blueprint

This application is engineered specifically for Vercel deployment with free serverless database backends. Follow these steps to put your tracking engine online in less than 3 minutes without paying a single dollar.

1. Vercel Hosting

Free Next.js frontend + serverless backend hosting, custom domains, and automatic SSL.

Go to Vercel

2. Neon Database

Free Serverless PostgreSQL database (0.5GB free forever). Instant connection string for Prisma.

Create Free DB on Neon

3. Resend / Gmail

Free SMTP / Resend API (3,000 emails/month free) for optional direct in-app mail dispatching.

Get Resend Free Key

Step-by-Step Deployment Instructions

1

Create Free PostgreSQL Database

Sign up at Neon.tech or Supabase.com. Create a new project and copy your pooled connection string (starts with postgresql://...).

2

Switch Prisma Datasource to PostgreSQL

In prisma/schema.prisma, change provider from "sqlite" to "postgresql":

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}
3

Deploy to Vercel & Configure Environment Variables

Push your code to GitHub and import the repository into Vercel. In Vercel Project Settings > Environment Variables, add:

  • DATABASE_URL: your PostgreSQL connection string
  • NEXT_PUBLIC_APP_URL: https://your-app-name.vercel.app
4

Push Database Tables & Enjoy

Run npx prisma db push in your local terminal or configure Vercel build command to npx prisma db push && next build. Your stealth email tracking suite is live!