Minimal Waitlist Page with Next.js + Drizzle + Postgres + Redis.

Watch Tutorial Video about how to deploy in a minute.
Go to zerops dashboard and import this project:
project:
name: Minimal Waitlistservices:
- hostname: apptype: nodejs@20buildFromGit: https://github.com/ColdranAI/waitlist-starterenableSubdomainAccess: true
- hostname: redistype: valkey@7.2mode: NON_HApriority: 10
- hostname: dbtype: postgresql@16mode: NON_HApriority: 10You can assign these environment variable in the service dashboard.
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/1402505825284784199/rNID32_cyYjHvyiNmuKTrOXd75iAuE-T32kHCJEztcDhYk4ql4cp_G8Ix7QQXDJgVq-M
NEXT_PUBLIC_DISCORD_INVITE=https://discord.gg/rDDqA83eGzMake sure to create and copy your webhook URL from your Discord server:
Go to your server settings. Navigate to the desired text channel. Open 'Integrations' > 'Webhooks'. Create a new webhook and copy the webhook URL.
- Go to your waitlist channel on your browser and open developer tools and paste the code block in console.
constemailRegex=/[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g;constallText=document.body.innerText;constemails=newSet(allText.match(emailRegex));constemailArray=Array.from(emails);constemailJSON=JSON.stringify(emailArray,null,2);constblob=newBlob([emailJSON],{type: "application/json"});constlink=document.createElement("a");link.href=URL.createObjectURL(blob);link.download="waitlist-emails.json";link.click();console.log("Waitlist exported!!",emailArray);Arjun Aditya is building Gray Cup - a company which is around tea, coffee, and softwares. You can explore more below
He still writes code, designs interfaces, and somehow keeps moving forward with a cup of tea or coffee in hand [ the ritual that keeps him sane when the burnout starts creeping in ]
Buy coffee or tea:
Bulk coffee or tea: