Startersaas React Spa screenshot

Startersaas React Spa

Author Avatar Theme by Devinterface
Updated: 27 Mar 2023
27 Stars

React SPA for a SaaS boilerplate

Overview:

The StarterSaaS React SPA is a project that provides a fully featured SaaS (Software as a Service) Single Page Application (SPA) setup in just 5 minutes. It offers various functionalities such as user registration, email activation, password reset, login/logout, subscription management, and more. The project is built using React and utilizes the StarterSaaS API for backend operations.

Features:

  • User registration with subdomain, email, and password
  • Email activation with a 6-character code and account creation
  • Resending activation code if not received
  • User password reset through code sent by email
  • User login and logout
  • User change password once logged in
  • Account trial period management
  • Edit of account billing information
  • Subscription creation and management
  • Plan change for subscriptions
  • Addition and removal of credit cards
  • Subscription cancelation and re-enabling
  • 3D Secure ready payments
  • Subscription handling via Stripe customer portal
  • Account’s users list, create, update, and delete (by admins only)
  • Stripe webhooks handling for events notifications by email
  • Notifications by email for new user subscriptions, successful payments, failed payments, expiring trials, and account suspension due to failed payments

Installation:

To install the StarterSaaS React SPA, follow these steps:

  1. Copy the .env.example file into a new file named .env.
  2. Build the application using the following command:
    npm run build
    
  3. Create a new network by typing the following command:
    startersaas newtwork
    
  4. Build the container by running the command:
    docker-compose build
    
  5. Finally, run the application using the command:
    docker-compose up
    
  6. The application will be accessible at the specified address.

Summary:

The StarterSaaS React SPA is a convenient solution for quickly setting up a fully featured SaaS Single Page Application. With its wide range of features, including user management, subscription handling, and email notifications, it provides a comprehensive solution for SaaS businesses. The project is built using React and requires the setup of environment variables for configuration.