This example shows how to use Clerk with Fauna. The example Next.js application features adding sign up, sign in, profile management, an authenticated query to a Fauna database, and an authenticated API route.
To run the example locally you need to:
- Sign up for a Clerk account at https://clerk.dev.
- Follow the integration instructions for Fauna.
- Set the required Clerk environment variables as shown in the example env file.
npm install
the required dependencies.npm run dev
and you are good to go.
If you need support or have anything you would like to ask, please reach out in our Discord channel. We'd love to chat!