Skip to content

jiashengguo/zenstack-nextjs-saas-app

Repository files navigation

ZenStack SaaS Demo

Overview

This is a sample project for demonstrating how to use ZenStack to create a SaaS application using Next.js

The deployed version can be found at https://zenstack-nextjs-saas-app-sigma.vercel.app/

Getting Started

  1. install dependencies
npm install
  1. Run build:
npm run build
  1. Set a postgres connection string to DATABASE_URL in .env:
DATABASE_URL="postgres://postgres:[YOUR-PASSWORD]@[YOUR-URL]/postgres"
  1. Sync schema with database
npm run db:push
  1. Finally it's time to run your app locally:
npm run dev

Learn More

To learn more about ZenStack, take a look at the following resources:

About

Build a SaaS application using Next.js and ZenStack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published