Skip to content

This repository provides a ready-to-use setup for integrating Convex and Kinde authentication into a Next.js application. With this setup, you can quickly configure user authentication, create new users, and manage sessions securely using Convex as the backend and Kinde as the authentication provider.

Notifications You must be signed in to change notification settings

Diivvuu/nextjs-boilerplate

Repository files navigation

Next.js Starter with Convex, Kinde Auth, and Shadcn UI

This Next.js project is a fully functional starter kit featuring Convex for backend data handling, Kinde for authentication, and Shadcn for UI components—all set up and ready to go! With a single command, you’ll have everything installed and configured to start building a Next.js app with user authentication, data management, and styled components.

Quick Start

To get started clone the repo and run :

  • step 1
npm i
  • step 2 (select your project)
npx convex dev 
  • step3

add env variables

 KINDE_CLIENT_ID=
 KINDE_CLIENT_SECRET=
 KINDE_ISSUER_URL=
 KINDE_SITE_URL=
 KINDE_POST_LOGOUT_REDIRECT_URL=
 KINDE_POST_LOGIN_REDIRECT_URL=
 CONVEX_DEPLOYMENT=
 NEXT_PUBLIC_CONVEX_URL=

That’s it! 🎉 With npm install, you’re all set up with Convex, Kinde Auth, and Shadcn, making it a perfect foundation for building and scaling user-based applications in Next.js.

Run the App

npm run dev

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

Features

  • Convex Integration: Easily handle backend data operations and management.
  • Kinde Authentication: Secure user authentication, session management, and authorization out of the box.
  • Shadcn UI: Pre-styled and accessible UI components that enhance the design and usability of your application

About

This repository provides a ready-to-use setup for integrating Convex and Kinde authentication into a Next.js application. With this setup, you can quickly configure user authentication, create new users, and manage sessions securely using Convex as the backend and Kinde as the authentication provider.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published