Skip to content

This sample repo will show you how to build a scheduling app with Nylas.

Notifications You must be signed in to change notification settings

nylas-samples/scheduling-app

Repository files navigation

scheduling-app

This sample repo will show you how to easily create a scheduling app using the Nylas Scheduler.

The codebase is part of a blog post and livestream showing How to Make a Calendar Scheduler in 3 Steps. Take a look at the blog post for further details.

This is a Next.js project bootstrapped with create-next-app.

Gather environment variables

You'll need the following values added to your environment:

NEXT_PUBLIC_SCHEDULE_APP_SUPABASE_URL = ""
NEXT_PUBLIC_SCHEDULE_APP_SUPABASE_ANON_KEY = ""
NEXT_PUBLIC_NYLAS_ACCESS_TOKEN = ""

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

Code

The starting point for the frontend can be found here

We store the scheduler information on supabase with a table called service that includes the following details:

  • user_id: int8 defaulted to 1 for demo
  • service: string
  • nylas_scheduler_url:string

Learn more

Visit our Nylas documentation to learn more.

About

This sample repo will show you how to build a scheduling app with Nylas.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published