• Stars
    star
    281
  • Rank 147,023 (Top 3 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created over 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Enterprise SaaS Starter Kit - Kickstart your enterprise app development with Next.js SaaS Starter Kit
BoxyHQ Banner

Participating in

Hacktoberfest

⬆️ Take a look at our Issues ⬆️


⭐ Enterprise SaaS Starter Kit

Github stargazers Github issues license Twitter LinkedIn Discord

The Open Source Next.js SaaS boilerplate for Enterprise SaaS app development.

Please star ⭐ the repo if you want us to continue developing and improving the SaaS Starter Kit! 😀

📖 Additional Resources

Video - BoxyHQ's SaaS Starter Kit: Your Ultimate Enterprise-Compliant Boilerplate
Blog - Enterprise-ready Saas Starter Kit

Next.js-based SaaS starter kit saves you months of development by starting you off with all the features that are the same in every product, so you can focus on what makes your app unique.

🛠️ Built With

🚀 Deployment

Deploy with Vercel Deploy to Heroku Deploy to DO

✨ Getting Started

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

Prerequisites

  • Node.js (Version: >=18.x)
  • PostgreSQL
  • NPM
  • Docker compose

Development

1. Setup

Clone or fork this GitHub repository

git clone https://github.com/boxyhq/saas-starter-kit.git

2. Go to the project folder

cd saas-starter-kit

3. Install dependencies

npm install

4. Set up your .env file

Duplicate .env.example to .env.

cp .env.example .env

5. Create a database (Optional)

To make the process of installing dependencies easier, we offer a docker-compose.yml with a Postgres container.

docker-compose up -d

6. Set up database schema

npx prisma db push

7. Start the server

In a development environment:

npm run dev

8. Start the Prisma Studio

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

npx prisma studio

8. Testing

We are using Playwright to execute E2E tests. Add all tests inside the /tests folder.

Update playwright.config.ts to change the playwright configuration.

Install Playwright dependencies
npm run playwright:update
Run E2E tests
npm run test:e2e

Note: HTML test report is generated inside the report folder. Currently supported browsers for test execution chromium and firefox

Fully customizable boilerplate out of the box, see images below 👇👇👇

saas-starter-kit-poster

🥇 Features

  • Create account
  • Sign in with Email and Password
  • Sign in with Magic Link
  • Sign in with SAML SSO
  • Sign in with Google [Setting up Google OAuth]
  • Sign in with GitHub [Creating a Github OAuth App]
  • Directory Sync (SCIM)
  • Update account
  • Create team
  • Invite users to the team
  • Manage team members
  • Update team settings
  • Webhooks & Events
  • Internationalization
  • Audit logs
  • Roles and Permissions
  • Dark mode

➡️ Coming Soon

  • Billing & subscriptions
  • Unit and integration tests

✨ Contributing

Thanks for taking the time to contribute! Contributions make the open-source community a fantastic place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Please try to create bug reports that are:

  • Reproducible. Include steps to reproduce the problem.
  • Specific. Include as much detail as possible: which version, what environment, etc.
  • Unique. Do not duplicate existing opened issues.
  • Scoped to a Single Bug. One bug per report.

Contributing Guide

🤩 Community

  • Discord (For live discussion with the Open-Source Community and BoxyHQ team)
  • Twitter / LinkedIn (Follow us)
  • Youtube (Watch community events and tutorials)
  • GitHub Issues (Contributions, report issues, and product ideas)

🛡️ License

Apache 2.0 License

More Repositories

1

jackson

An Enterprise SAML single sign-on service designed as an OAuth 2.0 flow. Integrate SAML and OIDC SSO with just a few lines of code.
TypeScript
486
star
2

awesome-oss-devsec

An awesome list of OSS developer-first security tools
113
star
3

hermes

Audit logs service
Go
30
star
4

mock-saml

A simple mock SAML 2.0 Identity Provider
TypeScript
26
star
5

remix-auth-sso

An SSO strategy for Remix Auth, based on the OAuth2Strategy
TypeScript
17
star
6

jackson-examples

Collection of SAML Jackson example apps that show how to integrate Enterprise SSO and Directory Sync with JavaScript-based web and authentication frameworks.
TypeScript
12
star
7

ui

UI toolkit to ease BoxyHQ integration
TypeScript
10
star
8

saml20

SAML 2.0 parser for Node.js
TypeScript
9
star
9

website

BoxyHQ website
HTML
6
star
10

jackson-remix-auth

Remix demo app showing Single sign-on (SSO) with Jackson
TypeScript
5
star
11

hacktoberfest-22

This repo serves as Hacktoberfest guidelines for BoxyHQ contributions.
4
star
12

api-benchmarking

API benchmarking framework for internal products
JavaScript
3
star
13

php-examples

PHP Example Apps powered by BoxyHQ
PHP
2
star
14

express-jackson-demo

JavaScript
2
star
15

error-code-mnemonic

A mnemomic generator for error codes. A friendly way for your customers to report error codes avoiding obscure hexadecimals.
JavaScript
2
star
16

jackson-supertokens-express

A project to demonstrate the integration of SAML using SuperTokens and SAML Jackson.
JavaScript
2
star
17

jackson-hasura-nextjs

Next.js + BoxyHQ SAML + Hasura Integration Example
TypeScript
1
star
18

ruby-examples

Ruby Example Apps powered by BoxyHQ
Ruby
1
star
19

jackson-cerbos

This is an example application that demonstrates how to use Cerbos with SAML Jackson
TypeScript
1
star
20

jackson-nextjs

Next.js + Tailwind CSS Template for BoxyHQ SAML Integration Example
TypeScript
1
star
21

express-jackson-auth0-demo

JavaScript
1
star
22

metrics

Package for OTel instrumentation
TypeScript
1
star