No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Digital business card platform. Next.js 15 + Supabase + Vercel.
npm install
Copy .env.local and fill in your values:
cp .env.local .env.local
Required environment variables:
NEXT_PUBLIC_SUPABASE_URL — your Supabase project URLNEXT_PUBLIC_SUPABASE_ANON_KEY — your Supabase anon/publishable keySUPABASE_SERVICE_ROLE_KEY — service role key (server only, never expose)NEXT_PUBLIC_APP_URL — http://localhost:3000 for dev, https://cardtly.com for prodnpm run dev
app/
login/ Sign in page
signup/ Sign up + auto card creation
dashboard/ Authenticated app
layout.tsx Sidebar + header shell
page.tsx Dashboard home
card/[slug]/ Public card pages
api/
og/card/[slug]/ OG image generation
vcf/[slug]/ vCard download
webhooks/
whop/ Whop payment webhook
paystack/ PayStack payment webhook
components/
card/ Public card renderer
dashboard/ Sidebar, header
auth/ Auth form components
lib/
supabase/
client.ts Browser Supabase client
server.ts Server Supabase client
plan.ts Plan checks + feature gates
utils.ts cn() helper
types/
database.ts Full DB type definitions
Deploy to Vercel. Add all environment variables in the Vercel dashboard.
After deploying, update your Whop and PayStack webhook URLs to:
https://cardtly.com/api/webhooks/whophttps://cardtly.com/api/webhooks/paystack