Coder Social home page Coder Social logo

ramv / saas-starter-kit-pro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saas-starter-kit/saas-starter-kit-pro

0.0 0.0 0.0 15.81 MB

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

Home Page: https://demo.saasstarterkit.com/app/1/dashboard

License: MIT License

Shell 0.10% JavaScript 21.72% Python 0.03% TypeScript 0.97% CSS 0.02% HTML 51.22% Handlebars 4.54% Jupyter Notebook 21.39% Dockerfile 0.01%

saas-starter-kit-pro's Introduction

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 plan id
NEXT_PUBLIC_STRIPE_BASIC_PLAN_PRICE Stripe price id
NEXT_PUBLIC_STRIPE_BASIC_PLAN_TYPE Human Readable plan name
NEXT_PUBLIC_STRIPE_PREMIUM_PLAN see above
NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRICE see above
NEXT_PULBIC_STRIPE_PREMIUM_PLAN_TYPE see above
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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.