This is an example of a Next.js app that uses Clerk for authentication and user management. This project goes along with my YouTube Tutorial.
Go to your https://clerk.com dashboard and click on Developer->API Keys
to copy your keys. Create a file named .env.local
and add the following:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=YOUR KEY
CLERK_SECRET_KEY=YOUR KEY
Install the dependencies:
npm install
Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.