Next13Template Tailwind Templates

Next13template

NextJS-approuter+ Tailwind + TS + PlanetScale + NextUIv2 + NextAuth + Kysely

Next.js + NextUI + NextAuth + PlanetScale + Kysely Template

This is a template for creating applications using Next.js 13 (app directory) and NextUI (v2).

Technologies Used

Features

  • Role based google authentication with JWT tokens, with per page auth control through middleware.
  • Responsive and sexy nav bar with profile avatar.
  • PlanetScale Integration with sample code
  • Kyslely Integration for low weight easy SQL queries
  • Tailwind CSS with variants

SET YOUR LOCAL ENV

GOOGLE_ID=
GOOGLE_SECRET=
GOOGLE_APPLICATION_CREDENTIALS=
AUTH_SECRET=
NEXTAUTH_URL="http://localhost:3000" <- for dev only set to actual URL in production env
DATABASE_URL=
DATABASE_USER=
DATABASE_PASSWORD=

Install dependencies

yarn install

Run the development server

yarn run dev

License

Licensed under the MIT license.

get-active-platform

Top categories

Loading Svelte Themes