Skip to content

πŸš€A boilerplate for building Software-as-Service (SAAS) apps with Reactjs, and Nodejs

License

Notifications You must be signed in to change notification settings

vnakhate/SAAS-Starter-Kit-Pro

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Welcome to SAAS Starter Kit!



Saas Starter Kit is a modern SAAS boilerplate. Save weeks of development time having standard SAAS features implemented for you, and start building your core app right away.

πŸŽ› Tech Stack

Frontend:

React, Nextjs, Styled Components, AntD, Firebase Auth.

Server:

Nodejs, Express, Docker, Jest, Postgres or Mongodb.

*Pro version also includes Stripe, Nodemailer, AWS CDK and more.

🧿 Saas Starterkit Standard

Saas Starterkit also comes in a lite barebones version. check it out here: https://github.com/Saas-Starter-Kit/Saas-Starterkit

βš™οΈ Installation

node version >= 14 recommended.
npm version >= 7 is recommended.

Using an older node version may lead to unexpected errors.

This Project Requires Firebase credentials and either Postgres or MongoDB credentials. Simply substitute the credentials into the appropriate env variables in both the client and server.

How to obtain the credentials from Firebase can be found in the Saas Starter Kit docs. Postgres and MongoDB credentials are user set.

Required Environment Variables

Client:

Variable Description
NEXT_PUBLIC_SERVER_URL URL of the nodejs Server. Will be localhost during dev.
NEXT_PUBLIC_FIREBASE_API_KEY The Firebase API key, found in the Firebase console
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN Firebase Auth Domain, found in the Firebase console
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID Google Analytics Measurement id
NEXT_PUBLIC_STRIPE_BASIC_PLAN Stripe price id, starts with price_xxxx
NEXT_PUBLIC_STRIPE_BASIC_PLAN_PRICE Plan Pricing
NEXT_PUBLIC_STRIPE_BASIC_PLAN_TYPE Human Readable plan name
NEXT_PUBLIC_STRIPE_PREMIUM_PLAN Stripe price id, starts with price_xxxx
NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRICE Plan Pricing
NEXT_PULBIC_STRIPE_PREMIUM_PLAN_TYPE Human Readable plan name
NEXT_PUBLIC_STRIPE_PUBLIC_KEY Stripe public api key

Server:

Variable Description
FIREBASE_DATABASE_URL Found in Firebase Service Account Key JSON file. See docs for more info.
FIREBASE_PROJECT_ID Found in Firebase Service Account Key JSON file. See docs for more info.
FIREBASE_CLIENT_EMAIL Found in Firebase Service Account Key JSON file. See docs for more info.
FIREBASE_PRIVATE_KEY Found in Firebase Service Account Key JSON file. See docs for more info.
AUTH_SECRET User set, can be anything
DB_PASSWORD Postgres Password, user set
DB_USER Postgres username
DB_HOST Postgres host, localhost in dev
DB_NAME Name of Postgres database
DB_PORT Postgres Port, default is 5432
MONGO_URL MongoDB URL is optional, if already using Postgres. Required if not.
MAIL_TRAP_USERNAME Mail trap username
MAIL_TRAP_PASSWORD Mail trap password
STRIPE_SECRET Stripe API secret
STRIPE_ITEM_PRICE Stripe price id
STRIPE_WEBHOOK_SECRET Stripe webhook secret
SendInBlue_API_KEY Sendinblue api key
SendInBlue_User sendinblue username
SendInBlue_Password sendinblue password
SendInBlue_ListId sendinblue listid
PRODUCT_NAME variable in transactional emails
PRODUCT_URL variable in transactional emails
COMPANY_NAME variable in transactional emails
COMPANY_ADDRESS variable in transactional emails

Once the Environment Variables are defined and node modules installed the boilerplate is ready to go.

✨ Features

  • βœ… Admin Dashboard
  • βœ… Full Authentication, with Google Social Login and Password Reset
  • βœ… User Profile Management with Email and Username change
  • βœ… User Dashboard
  • βœ… Checkout Pages
  • βœ… Landing and Pricing Page template
  • βœ… Decoupled Nodejs server
  • βœ… Testing Setup with Cypress and Jest
  • βœ… CRUD operations
  • βœ… Stripe subscription payments
  • βœ… Roles and permissions
  • βœ… Multi user apps and multi tenancy
  • βœ… Machine learning and AI
  • βœ… AWS infrastructure as code
  • βœ… Fully Featured Blog and Docs
  • βœ… Event Based Google Analytics

πŸ“œ Docs

The Documentation is available here: https://docs.saasstarterkit.com/docs/Intro/Welcome

If there are any questions or something is not covered in the docs, feel free to open a github issue on this repo.

πŸ’» Demo

The Demo can be found here: https://demo.saasstarterkit.com/app/1/dashboard

Certain Features have to be disabled or cant be included in the demo.

🀝 Contributing

Pull requests are welcome.

Also If you like this project please ⭐️ the repo to show your support.

About

πŸš€A boilerplate for building Software-as-Service (SAAS) apps with Reactjs, and Nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.9%
  • JavaScript 21.8%
  • Jupyter Notebook 21.3%
  • Handlebars 5.0%
  • TypeScript 1.0%
  • Python 0.0%