Skip to content
Projets

À propos

Next.js SaaS boilerplate with NextAuth, Prisma, Supabase, Shadcn/ui & Lemon Squeezy Subscriptions

Développement web et applicatif

Comment ces chiffres sont mesurés

What you can do

  • Intercepting & Parallel Routes
  • Subscriptions with Lemon Squeezy
  • Custom Components
  • Light/Dark Modes temporarily removed

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original
Firestarta.dev

A Next.js SaaS Boilerplate

This repository serves as a starting point (or boilerplate) for any Next.js SaaS project that requires user authentication and management and subscription payments. It currently uses Prisma with a Postgres database and is being built out using shadcn/ui components besides custom sass components when needed.

Live :point_right: Firestarta.dev

Vercel

Made with Supabase

[!NOTE] Now using yarn 4.1.0 through Corepack.

The stack

Changes or additions to teh stack will be updated here

  • Next.js
  • NextAuth
  • Typescript
  • Prisma
  • Supabase (Postgres)
  • Lemon Squeezy (Subscriptions)
  • Sass
  • shadcn/ui
  • Lucide icons

Features

Features are developed in no specific order

  • App directory
  • Route Groups
  • Intercepting & Parallel Routes
  • CSR/SSR
  • Subscriptions with Lemon Squeezy
  • Basic SEO
  • User Profiles
  • Account Pages
  • Custom Components
  • Light/Dark Modes temporarily removed
  • Responsive Design
  • Light mode (Theme)
  • Dasboard layouts
  • Cookies
  • Internationalisation (Multi-lingual)
  • Custom errors
  • Loading states loading.tsx
  • Sitemap
  • Manifest
  • Blog

Preview

Firestarta.dev

Setup

Create a .env.local file and generate NextAuth secret using:

openssl rand -base64 32

.env.local

NEXT_PUBLIC_SITE_URL=http://localhost:3000
NEXTAUTH_SECRET=
NEXTAUTH_URL=http://localhost:3000

GITHUB_SECRET=
GITHUB_ID=

DATABASE_URL=

LEMONSQUEEZY_STORE_ID=
LEMONSQUEEZY_API_KEY=
LEMONSQUEEZY_WEBHOOK_SECRET=

Set up GitHub Authentication

[!TIP] To setup Github visit https://github.com/settings/apps to create a new app. the callback URL should be: [origin]/api/auth/callback/[provider] as stated in the NextAuth documentation.

Getting Started

npx prisma migrate dev --name init
yarn dev

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

Explorer des projets similaires

Chargement…