DEV Community

Kiran Krishnan
Kiran Krishnan

Posted on • Edited on

1

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.

AWS Q Developer image

Your AI Code Assistant

Ask anything about your entire project, code and get answers and even architecture diagrams. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Start free in your IDE

Top comments (0)

SurveyJS custom survey software

Build Your Own Forms without Manual Coding

SurveyJS UI libraries let you build a JSON-based form management system that integrates with any backend, giving you full control over your data with no user limits. Includes support for custom question types, skip logic, an integrated CSS editor, PDF export, real-time analytics, and more.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay