Marky screenshot

Marky

Author Avatar Theme by K0mpreni
Updated: 29 Apr 2024
11 Stars

A Sveltekit Supabase Stripe SaaS template

Categories

Overview:

This product is a template for SaaS (Software as a Service) built with Svelte, Supabase, and Stripe. The purpose of this template is to provide a quick and efficient way to bootstrap a SaaS project, allowing users to focus on their own ideas. The template includes various features such as good landing pages and more, which will be built and added over time as the creator of the template learns more about SaaS.

Features:

  • Svelte: The template is built using the Svelte framework, providing a lightweight and efficient way to develop web applications.
  • Supabase: Supabase is utilized for authentication and user management within the SaaS template.
  • Stripe: Stripe integration allows for the management of payments and subscriptions within the SaaS application.

Installation:

To install the SaaS template, please follow the steps below:

  1. Clone the repository.
  2. Copy the contents of the .env.example file and create a new file called .env.
  3. Paste the copied contents into the .env file.
  4. Add your environment variables to the .env file.

Setup Supabase:

  1. Sign into Supabase.
  2. Create a new project.
  3. In the “Authentication” section, configure the desired authentication providers and add them to the login page.

Setup auth trigger:

  1. Execute the provided code snippet to create a trigger that will run a function to create a user and organization whenever a new user is created in the auth table.

Setup Stripe:

  1. Sign into Stripe.
  2. Go to the “Products” section and add the desired products, which will be the plans shown on the site.
  3. Implement any additional rules, such as a CVC (Card Verification Code) rule.

Summary:

This product is a template for SaaS development using Svelte, Supabase, and Stripe. It provides a convenient and efficient way to start a SaaS project by offering features such as authentication, user management, and payments integration. The installation process involves cloning the repository, configuring environment variables, setting up Supabase for authentication, creating an auth trigger for user and organization creation, and configuring Stripe for managing products and payments.