Skip to content

ablydevin/clerk-ably-nextjs

Repository files navigation

The accompanying source code for our tutorial on how to authenticate a Next.js Route Handler using Clerk.

Check out the tutorial by following the link above OR run the demo with the following instructions.

Running the demo

Want to run the demo and check it out? Here's what to do -

First, download the repository with Git:

git clone https://github.com/ablydevin/clerk-ably-nextjs
cd clerk-ably-nextjs

Next, create a .env file with your credentials:

NEXT_ABLY_API_KEY=
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
  • Create an Ably account here.
  • Create a Clerk account here (️remember to enable the Username attribute for your Clerk app).

Install the npm dependencies then run the app in dev mode:

npm install
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors