VercelLogotypeVercelLogotype
LoginSign Up
Back to Templates

Next.js Waitlist with Notion CMS

A simple Next.js waitlist template with Notion as a CMS, Upstash Redis for rate limiting, and Resend for sending emails via custom domain.

DeployView Demo
Next.js Notion Waitlist template screenshot

This is a template repository for creating a waitlist using Next.js 14, Notion as a CMS, Upstash Redis for rate limiting and Resend for sending emails with a custom domain.

The UI is built using a mix of shadcn/ui, Magic UI and Tailwind CSS.

Demo: https://nextjs-notion-waitlist.vercel.app

Sample Database (Link)

Features

  • Next.js 14: The most popular React framework.
  • Notion as a CMS: Use Notion to manage your waitlist users.
  • Upstash Redis: Use Upstash Redis to rate limit the number of signups in a given time period.
  • Resend: Use Resend to send emails to users who sign up.
  • Vercel: Deploy the app to Vercel with a single click.
  • shadcn/ui: Use shadcn/ui for building the UI components.

Why Notion?

Notion is used everywhere nowadays. It's a great tool for managing content and it's free to use. But a lot of people don't know that they can use Notion as a CMS for their websites which stands for Content Management System. This template is a very basic implementation of using Notion as a CMS for a waitlist.

However, You can extend it to use Notion for other types of content as well. Using Notion as a CMS is a great way to manage content without having to build a backend or a database. You can use Notion's API to fetch data from your Notion workspace and display it on your website.

How to get started?

There are a few things you need to do before you can use this template:

Notion

Assuming that you have a Notion account and a workspace, you can create a new database in your workspace and add the following columns:

  • Name: Title
  • Email: Email

Now you need to get the SECRET key for your workspace. You can create an internal integration and get the secret from the Notion Integrations page. You will need this key to fetch data from your workspace.

Now you need to get the ID of the database you created. You can get it from the URL of the database. It will look something like this:

https://www.notion.so/{DATABASE_ID}?v={NUMBERS}

You need to copy the DATABASE_ID from the URL.

Upstash Redis

It's fairly simple to get started with Upstash Redis. You can sign up for a free account and create a new Redis database. You will get a REST URL and a TOKEN that you can use to interact with the Redis database.

Resend

You need to sign up for a Resend account if not already. Then you need to add your domain and verify the DNS records. Once you have done that, you can generate an API key from the Resend dashboard which you will need to send emails.

Building with this template

There are two ways to use this template:

  1. Deploy to Vercel: Click the button below to deploy this template to Vercel with a single click.

The above button will create a new Vercel project and clone this repository into your GitHub account. You will need to provide the following environment variables:

  • NOTION_SECRET: Your Notion secret key.
  • NOTION_DB: The ID of the Notion database you want to use.
  • RESEND_API_KEY: Your Resend API key.
  • UPSTASH_REDIS_REST_URL: Your Upstash Redis REST URL.
  • UPSTASH_REDIS_REST_TOKEN: Your Upstash Redis REST token.
  1. Manual Setup: Fork this repository and clone it to your local machine.

Install the dependencies, this project uses bun as a package manager:

bun install

Run the development server:

bun dev

To run the email server:

bun email

Create a .env.local file in the root of the project and add the environment variables mentioned above. You can also have a look at the .env.example file for reference.

License

You can use this template for personal or commercial projects. You can modify it as you like.

However, if you use this template for commercial projects, please consider buying me a coffee or sponsoring me on GitHub. It will help me to keep creating more templates like this.

If you have any questions or need help with this template, feel free to reach out to me on Twitter or leave a comment on this repository.

GitHub Repolakshaybhushan/nextjs-notion-waitlist-template
Use Cases
CMSStarterSaaS
Stack
Next.jsTailwind
Database
Upstash
CMS
Notion

Related Templates

Get Started

  • Templates
  • Supported frameworks
  • Marketplace
  • Domains

Build

  • Next.js on Vercel
  • Turborepo
  • v0

Scale

  • Content delivery network
  • Fluid compute
  • CI/CD
  • Observability
  • AI GatewayNew
  • Vercel AgentNew

Secure

  • Platform security
  • Web Application Firewall
  • Bot management
  • BotID
  • SandboxNew

Resources

  • Pricing
  • Customers
  • Enterprise
  • Articles
  • Startups
  • Solution partners

Learn

  • Docs
  • Blog
  • Changelog
  • Knowledge Base
  • Academy
  • Community

Frameworks

  • Next.js
  • Nuxt
  • Svelte
  • Nitro
  • Turbo

SDKs

  • AI SDK
  • Workflow SDKNew
  • Flags SDK
  • Chat SDK
  • Streamdown AINew

Use Cases

  • Composable commerce
  • Multi-tenant platforms
  • Web apps
  • Marketing sites
  • Platform engineers
  • Design engineers

Company

  • About
  • Careers
  • Help
  • Press
  • Legal
  • Privacy Policy

Community

  • Open source program
  • Events
  • Shipped on Vercel
  • GitHub
  • LinkedIn
  • X
  • YouTube

Loading status…

Select a display theme:
    • AI Cloud
      • v0

        Build applications with AI

      • AI SDK

        The AI Toolkit for TypeScript

      • AI Gateway

        One endpoint, all your models

      • Vercel Agent

        An agent that knows your stack

      • Sandbox

        AI workflows in live environments

    • Core Platform
      • CI/CD

        Helping teams ship 6× faster

      • Content Delivery

        Fast, scalable, and reliable

      • Fluid Compute

        Servers, in serverless form

      • Observability

        Trace every step

    • Security
      • Bot Management

        Scalable bot protection

      • BotID

        Invisible CAPTCHA

      • Platform Security

        DDoS Protection, Firewall

      • Web Application Firewall

        Granular, custom protection

    • Company
      • Customers

        Trusted by the best teams

      • Blog

        The latest posts and changes

      • Changelog

        See what shipped

      • Press

        Read the latest news

      • Events

        Join us at an event

    • Learn
      • Docs

        Vercel documentation

      • Academy

        Linear courses to level up

      • Knowledge Base

        Find help quickly

      • Community

        Join the conversation

    • Open Source
      • Next.js

        The native Next.js platform

      • Nuxt

        The progressive web framework

      • Svelte

        The web’s efficient UI framework

      • Turborepo

        Speed with Enterprise scale

    • Use Cases
      • AI Apps

        Deploy at the speed of AI

      • Composable Commerce

        Power storefronts that convert

      • Marketing Sites

        Launch campaigns fast

      • Multi-tenant Platforms

        Scale apps with one codebase

      • Web Apps

        Ship features, not infrastructure

    • Tools
      • Marketplace

        Extend and automate workflows

      • Templates

        Jumpstart app development

      • Partner Finder

        Get help from solution partners

    • Users
      • Platform Engineers

        Automate away repetition

      • Design Engineers

        Deploy for every idea

  • Enterprise
  • Pricing
Log InContact
Sign Up
Sign Up
Back to Templates
DeployView Demo

Virtual Event Starter Kit

Jumpstart your virtual event and scale to any size with Next.js and Vercel.
Virtual Event Starter Kit

BaseHub Marketing Website

A sleek, modern, and fully customizable website template for your next marketing website.
BaseHub Marketing Website
v0

Build applications with AI

AI SDK

The AI Toolkit for TypeScript

AI Gateway

One endpoint, all your models

Vercel Agent

An agent that knows your stack

Sandbox

AI workflows in live environments

CI/CD

Helping teams ship 6× faster

Content Delivery

Fast, scalable, and reliable

Fluid Compute

Servers, in serverless form

Observability

Trace every step

Bot Management

Scalable bot protection

BotID

Invisible CAPTCHA

Platform Security

DDoS Protection, Firewall

Web Application Firewall

Granular, custom protection

Customers

Trusted by the best teams

Blog

The latest posts and changes

Changelog

See what shipped

Press

Read the latest news

Events

Join us at an event

Docs

Vercel documentation

Academy

Linear courses to level up

Knowledge Base

Find help quickly

Community

Join the conversation

Next.js

The native Next.js platform

Nuxt

The progressive web framework

Svelte

The web’s efficient UI framework

Turborepo

Speed with Enterprise scale

AI Apps

Deploy at the speed of AI

Composable Commerce

Power storefronts that convert

Marketing Sites

Launch campaigns fast

Multi-tenant Platforms

Scale apps with one codebase

Web Apps

Ship features, not infrastructure

Marketplace

Extend and automate workflows

Templates

Jumpstart app development

Partner Finder

Get help from solution partners

Platform Engineers

Automate away repetition

Design Engineers

Deploy for every idea