This is a Next.js project bootstrapped with create-next-app
. It demonstrates the use of the new Scheduler v3 components and Scheduling API to create a simple web application that allows users to schedule a meeting with a contractor.
- How the Nylas React package can be installed in your application.
- How to import components in your application's frontend.
- How to embed and configure the components.
- How to generate and fetch a session ID from the Nylas API's and use it to authenticate the components.
-
Fork the repository and clone it to your local machine.
-
Install the dependencies
npm install
-
Copy the
.env-sample
file to.env.local
and update the values with your Nylas App ID and Secret.cp .env-sample .env.local
-
Start the development server
npm run dev
-
Open http://localhost:3000 with your browser to see the result.