Skip to content

Agustine-dev/Nextjs-Auth-with-Clerk

Repository files navigation

This is a Next.js Application utilizing Clerk Authentication

Getting Started with this Template

First, clone this repository:

git clone https://github.com/Agustine-dev/Nextjs-Auth-with-Clerk.git

To run the example locally, you need to:

  1. Sign up for a Clerk account at https://clerk.com.
  2. Go to the Clerk dashboard and create an application.
  3. Set the required Clerk environment variables
  4. Create a .env file and add the variables
    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="__TEST_KEY__"
    CLERK_SECRET_KEY="__TEST_SECRET"
  5. Go to "Organization Settings" in your sidebar and enable Organizations
  6. npm install the required dependencies.
  7. npm run dev to launch the development server.

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

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

About

Demo Application with Next.js and Clerk for Auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published