14
26 Comments

Open-Source SaaS Template for the PERN Stack

Hey React Devs,

I've seen some NextJS SaaS templates for $700 dollars, as well as GPT templates for about $500. So I thought I'd build my own and distribute it for free.

It's a Fullstack template built on top of the PERN Stack -- Postgres/Prisma, ExpressJS, React, NodeJS -- and at the moment it's got Stripe subscription integration, Google Auth, OpenAI GPT API configuration, Managed Server-Side Routes, Tailwind CSS styling, and more.

I used the GPT API as an example, but you could switch it out for anything you'd like. More detailed instructions are in the README file on the GitHub repo

This is the first draft, so let me know what you'd like to see added. Better yet, contribute to the repo if you feel so inclined.

Oh, and if you build anything with it, please share it with me here or on twitter! 🙏

Enjoy!



on April 4, 2023
  1. 3

    Great job, Vince.

    First time coming across Wasp, and I am already loving it. Curious, why did you use Nodejs and react instead of a fullstack a NextJs? Just curious if there is a technical decision that I am not able to think of.

    Thank you for making this.

    1. 1

      Thank you 🙏

      Wasp has better DX than NextJS in that you can move a lot faster, e.g. spending less time configuring Auth and routes. Plus, with your own Node server you don't have to rely on serverless functions or third party services to run queues or cron jobs, which can start to add up as your app scales

      1. 2

        Oh, that's awesome. I will have to spend some more time to understand Wasp.

        1. 1

          yeah the Todo App tutorial is a pretty good start: https://wasp-lang.dev/docs/tutorials/todo-app

  2. 3

    Wow it was fast, didn't even know you work on it already!
    Will check it later. And someone already asked about deploy, it would be really helpful!

    1. 1

      oh good point! I'll have to add something to the README

  3. 2

    These look good.BTW, Are you planning on making it paid in the future? If not, any other plans for monetizing it?

    1. 2

      Thanks. And, no, I want to keep it free!

  4. 2

    Nice! Any instructions on how to deploy it?

    1. 2

      Whoops. I'll add that soon, but for the time being you can check out https://wasp-lang.dev/docs/deploying

  5. 2

    Wow, this looks sleek! Is/will there be a dark theme available?

    1. 1

      This is a great idea. Hadn't thought of that. I'll make a note to add it soon!

  6. 2

    What did you use for the design? I've seen you using Chakra UI before

    1. 2

      Ah true! I used tailwind css this time, as it seems to be the more widely accepted choice these days :)

  7. 1

    I am currently working on establishing an inbound marketing engine for , but as a non-technical individual, I lack the expertise to undertake this task on my own. I've attempted to find a skilled developer without success so far, and I am continuing my search to identify a suitable candidate. The ultimate goal is to proceed with creating a software-as-a-service (SAAS) solution for Pikashow.

  8. 1

    Open-Source SaaS Template for the PERN Stack and its Relation to Pikashow App

    The concept of an open-source SaaS template for the PERN (PostgreSQL, Express.js, React, Node.js) stack offers immense potential for developers looking to create scalable and efficient web applications. This template provides a foundation for building Software as a Service (SaaS) applications using popular technologies that are known for their flexibility and performance.

    Now, let's draw a connection to the Pikashow app. Pikashow is a streaming application that allows users to access a wide range of movies and TV shows. While Pikashow is a closed-source application, the idea of an open-source PERN stack SaaS template can be extrapolated to enhance similar services. Here's how:

    Scalability: The PERN stack is known for its scalability. An open-source template based on this stack can enable developers to create scalable streaming applications like Pikashow. It provides a solid foundation for handling a large user base and frequent content updates.

    Real-time Updates: The real-time capabilities of the PERN stack, especially with technologies like WebSocket integration, can be utilized to provide users with instant updates on new content, similar to the real-time nature of Pikashow.

    Data Management: PostgreSQL, a relational database used in the PERN stack, is well-suited for managing vast amounts of data efficiently. This is crucial for applications like Pikashow, where a vast library of multimedia content needs to be organized and accessible.

    User Interface (UI) Development: The React front-end in the PERN stack is excellent for building responsive and interactive user interfaces. Developers can leverage this to create a user-friendly interface for their streaming application, akin to the seamless experience offered by Pikashow.

    Community Collaboration: The open-source nature of the template encourages collaboration within the developer community. This fosters innovation, bug fixing, and feature enhancements over time, creating a robust foundation for a streaming service.

  9. 1

    Wow. This is pretty cool. Didn't know that people sell Next.js templates online haha.

    1. 1

      haha yeah. It's kind of ridiculous to be honest

  10. 1

    Very cool thanks! I'm currently on Angular and Flutter, but want to teach myself React soon. And if I feel like a new project I can start something fast with it right away.

  11. 1

    Nice !

    I want to do the same thing for python/flask app. My current app is too complex to share it as a template but I want to make a simpler version

    1. 1

      this is exactly what i did with https://CoverLetterGPT.xyz -- i simplified it into a template :)

  12. 0

    As we are trying to create an inbound marketing engine for https://casinofindr.com/best-online-casino but being a non techy person I can't do it myself. Also I searched for good developer. But haven't found still searching so that we could proceed it .

  13. -1

    This comment has been voted down. Click to show.

Trending on Indie Hackers
I spent $0 on marketing and got 1,200 website visitors - Here's my exact playbook User Avatar 50 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 🎬🤖 User Avatar 26 comments I built eSIMKitStore — helping travelers stay online with instant QR-based eSIMs 🌍 User Avatar 20 comments Codenhack Beta — Full Access + Referral User Avatar 20 comments 🚀 Get Your Brand Featured on FaceSeek User Avatar 18 comments Day 6 - Slow days as a solo founder User Avatar 15 comments