Overview
The Next.js SaaS Prisma PostgreSQL Auth Starter is a project that aims to create a metered billing SaaS platform using Next.js, Prisma, PostgreSQL, and Stripe. It is still a work in progress, but it provides various features for authentication, user management, project management, and billing.
Features
- NextJS 14 /app dir: The project is built on Next.js version 14, utilizing the /app directory structure.
- Pricing using Tier and Stripe: It includes a pricing model utilizing tiers and integration with Stripe for payment processing.
- Pricing model using Tier Model Builder: The project incorporates a tier model builder for creating and managing different pricing tiers.
- Subscriptions and Checkout: It supports subscriptions and checkout functionality for users.
- Authentication using Lucia Auth: The project provides authentication features using the Lucia Auth library.
- ORM using Prisma: Prisma serves as the ORM (Object-Relational Mapping) for interacting with the PostgreSQL database.
- Tailwind CSS and shadcn: It utilizes Tailwind CSS for styling and the shadcn library for UI enhancements.
Installation
To run this project locally, follow the steps below:
Clone the project repository:
git clone <repository_link>Navigate to the project directory:
cd project-directoryInstall the dependencies:
npm installRun the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
Summary
The Next.js SaaS Prisma PostgreSQL Auth Starter is a work in progress project that aims to create a metered billing SaaS platform. It utilizes Next.js, Prisma, PostgreSQL, and Stripe to provide features such as authentication, user management, project management, and billing. The project is built with Next.js version 14, incorporates a pricing model using tiers and Stripe integration, and uses Prisma as the ORM for interacting with the PostgreSQL database. With features for authentication, subscription handling, and user management, this starter project lays a solid foundation for building a SaaS platform.