Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.22 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.22 KB

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: