SupaNuxt SaaS

Build flexible and scalable SaaS applications with Supanuxt. Utilize Composition API, Prisma, and Trpc to achieve separation of concerns and avoid vendor lock-in.

SupaNuxt-SaaS is a SaaS boilerplate built with Nuxt3, Supabase, OAuth, Prisma, TRPC, Pinia, Stripe, Tailwind, and OpenAI. It is available on Github at JavascriptMick/supanuxt-saas. The boilerplate has a focus on separation of concerns and avoiding vendor lock-in, with Composition API and setup functions used across components, pages, and Pinia stores. Prisma is used for direct database access to avoid lock-in with Supabase, and TRPC is used for full-thickness types without duplication on the client, but also including a REST endpoint example for flexibility. The boilerplate provides instructions for setting up environment variables and Supabase, as well as commands to set up the database using Prisma. Stripe is used for subscription payments, and instructions are given for setting up business on Stripe and creating products with their respective IDs. The boilerplate also includes instructions for installing dependencies, starting the development server, running tests, building the application for production, and previewing the production build locally. Additionally, the instructions for creating a Netlify account, importing the GitHub repository, setting up environment variables, and configuring Supabase URL Authentication with Netlify are given. The boilerplate is primarily written in TypeScript (51.8%) and Vue (48.0%), with a small percentage of other languages.

Check it out

https://github.com/JavascriptMick/supanuxt-saas