A SaaS boilerplate built on Nextjs, NextAuth & Tailwind.
.env file.
.env.example file and find the variables needed..env.local, copy variables from .env.example, and update your credentials..env.example file.npm install to install required dependencies.npm run dev to start the server on localhost.package.json file for the NextAuth dependency./pages/api/auth/[...nextauth].js..env file for OpenAI and Pinecone./pages/dashboard.js and /components/aiComponent/..env.local./pages/api/auth/[...nextauth].js./lib/mailService.js./prisma/schema.prisma file to add database tables./components/landingPage./config/pricing.js./lib/stripe-checkout.js./lib/lemonSqueezy.js./pages/api/payments/stripe_webhook.js and /pages/api/payments/lemon-squeezy-webhook.js.config/crispSupport.js.config/googleAnalytics.js.components/additional/seo.js./pages/blog/ folder.theme.config.js./components/elements/, including button.js, card.js, customDialog.js, customLink.js, pricingCard.js, productHunt.js, sprinkle.js (for a unique icon), and video.js (for integration videos).Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.
React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components
Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.
Prisma is a server-side library that helps developers read and write data to the database in an intuitive, efficient and safe way.
A boilerplate includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.
A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.