DEV Community

Kiran Krishnan
Kiran Krishnan

Posted on • Updated on

Open-source Next.js SaaS Starter Kit

Enterprise SaaS Starter Kit

Recently we (BoxyHQ) launched an open-source Enterprise SaaS Starter Kit on GitHub. This repository is still in an early stage of development.

Kickstart your enterprise app development with Next.js SaaS Starter Kit

It is Next.js based project that saves you months of development by starting you off with all the same features in every SaaS app, so you can focus on what makes your app unique.

Getting Started

Please follow these simple steps to get a local copy up and running.

Prerequisites

  • Node.js (Version: >=15.x <17)
  • PostgreSQL
  • NPM

1. Setup

Clone or fork this GitHub repository

git clone https://github.com/boxyhq/saas-starter-kit.git
Enter fullscreen mode Exit fullscreen mode

2. Go to the project folder

cd saas-starter-kit
Enter fullscreen mode Exit fullscreen mode

3. Install dependencies

npm install
Enter fullscreen mode Exit fullscreen mode

4. Set up your .env file

Duplicate .env.example to .env.

cp .env.example .env
Enter fullscreen mode Exit fullscreen mode

5. Set up database schema

npx prisma db push
Enter fullscreen mode Exit fullscreen mode

6. Start the server

In a development environment:

npm run dev
Enter fullscreen mode Exit fullscreen mode

7. Start the Prisma Studio

Prisma Studio is a visual editor for the data in your database.

npx prisma studio
Enter fullscreen mode Exit fullscreen mode

Features

The app supports the following features as of now.

  • Create account
  • Sign in with Email and Password
  • Sign in with Magic Link
  • Sign in with SAML SSO
  • Directory Sync (SCIM)
  • Update account
  • Create team
  • Invite users to the team
  • Manage team members
  • Update team settings
  • Configure SAML SSO

Coming Soon

  • Audit logs
  • Unit and integration tests
  • Dark mode
  • Mobile-first UI
  • Billing & subscriptions
  • Internationalization
  • Roles and Permissions

Contributing

Contributions make the open-source community a fantastic place to learn, inspire, and create. Any contributions you make are greatly appreciated.

We also invite new supporters to contribute to the repository if you are interested.

Here are some open issues.

Discover a collection of SaaS Starter Kits based on Next.js, Supabase, React.js, Remix, Ruby on Rails, Laravel, and Go.

Top comments (0)