encore icon indicating copy to clipboard operation
encore copied to clipboard

BOUNTY: Encore SaaS Starter Template

Open marcuskohlberg opened this issue 9 months ago • 13 comments

Bounty closed: We now have winners in both categories, to be announced shortly. Thanks for all your submissions!

Hey everyone, we want to create a high quality Encore SaaS Starter Template to serve as a launchpad for teams who find Encore and want to build their startup with it.

We've identified that many teams are solving the same problems around integrating auth providers, frontend frameworks, Stripe integrations, etc. as they set up their "SaaS stack".

Since we've limited bandwidth in the core team, we’re hoping you can help!

Many of you here in the community have already done this work for your startups, so you’re in a great position to help us create an awesome SaaS starter template.

We're offering a $1000 bounty to the person who contributes the best Encore.ts SaaS starter template, and another $1000 to the person who contributes the best Encore.go SaaS starter template.

Requirements:

  • Use Encore (.ts/.go) for the backend
  • Use Next.js for the frontend
  • Use Tailwind/shadcn for UI components
  • Use Stripe for payments integration
  • Use Better Auth, Clerk, Firebase/Supabase, or Auth0 for auth integration
  • Create a README for how to setup the application including all third-party integrations

For some inspiration, here is one that Vercel have produced: https://vercel.com/templates/next.js/next-js-saas-starter

Who gets the bounty:

There’s a Swedish saying “först till kvarn får mala” which means “the first to arrive at the mill gets to grind”. We’ll apply this principle and will award the bounty to the first person (one for .ts and one for .go) who submits an entry that fulfills all the requirements and passes our quality assessment (more below).

Quality assessment: For this to create real practical value for other developers, the starter template needs to be of high quality and be well thought out in how it integrates the different pieces and makes use of Encore as a backend framework. Therefore we reserve the right to subjectively determine the winner based on the core team’s experience and understanding of Encore. We're happy to answer questions and provide support as you work on a submission! See below how to ask questions.

How to submit your entry: Create a PR in the examples repo: https://github.com/encoredev/examples Mark the PR: "Encore.ts <or .go> SaaS Starter Template"

We will use GitHub's timestamp of when you submitted your PR (or the final subsequent commit in the case there are iterations required) as the time of your entry when determining the winner.

If you have questions: Ask here in the issue, on Discord, or send an email to [email protected]

marcuskohlberg avatar Feb 27 '25 16:02 marcuskohlberg

Hi @marcuskohlberg I'll like to work on this issue

Myestery avatar Feb 27 '25 17:02 Myestery

Just curious ... specifically NextJS ? Would React Router V7 be an option as well ?

Alex793x avatar Feb 27 '25 18:02 Alex793x

What about adding Better-Auth to the list of potential auth options, for nice self hosted auth solution? :D

ichabodcole avatar Feb 27 '25 20:02 ichabodcole

Yea would love if the template was using better auth instead of some hosted solution.

nikivdev avatar Feb 27 '25 20:02 nikivdev

better-auth support is coming might give this a shot, as a sample project, for you @nikitavoloboev if I have the bandwidth, but it doesn't meet the requirement of this bounty, so you can keep track on the PR here https://github.com/solarsoft0/encore-better-auth/pull/2, before the weekends this should close out.

solarsoft0 avatar Feb 27 '25 22:02 solarsoft0

+1 for Better Auth, but if the requirement is a hosted solution, I recommend any open-source hosted solution like Supabase Auth (formerly GoTrue), as it is more widely used compared to Clerk.

volfadar avatar Feb 27 '25 22:02 volfadar

you can keep track on the PR here solarsoft0/encore-better-auth#2

This is amazing effort. Looking forward to using this.

nikivdev avatar Feb 27 '25 22:02 nikivdev

I've added Better Auth to the list! Let's go!

marcuskohlberg avatar Feb 28 '25 07:02 marcuskohlberg

better-auth support is coming might give this a shot, as a sample project, for you @nikitavoloboev if I have the bandwidth, but it doesn't meet the requirement of this bounty, so you can keep track on the PR here https://github.com/solarsoft0/encore-better-auth/pull/2, before the weekends this should close out.

tracking PR has changed but the link is still the same, updated implementation to be a direct and peer dependency of betterAuth instead of a fork makes maintenance easier.

solarsoft0 avatar Mar 04 '25 12:03 solarsoft0

@nikitavoloboev @volfadar encore-better-auth is out, please check it out. pnpm install encore-better-auth, https://github.com/solarsoft0/encore-better-auth added a basic encore auth example inside the repo, have a look. Since this is still open, I will give it a shot too.

solarsoft0 avatar Mar 09 '25 19:03 solarsoft0

I have a draft PR open, but I was paying close attention to this statement: "We now have a few submissions for both .ts and .go which we are reviewing. We will likely have bounty winners in both categories announced shortly. Thanks for all your help!" Does this mean submissions are closed, or can I still submit my PR? Just wanted to confirm. Thanks! cc @marcuskohlberg

solarsoft0 avatar Mar 10 '25 23:03 solarsoft0

Submissions are not closed, but since it's on a first-come-first-win basis, it's unlikely that submissions at this point will qualify to win. But you are still welcome to submit!

marcuskohlberg avatar Mar 11 '25 07:03 marcuskohlberg

Submissions are not closed, but since it's on a first-come-first-win basis, it's unlikely that submissions at this point will qualify to win. But you are still welcome to submit!

Just catching this, something came up on this end, will send in my contribution since I started - later, thank you for your time!

solarsoft0 avatar Mar 11 '25 19:03 solarsoft0