Hacker News new | ask | show | jobs
Ask HN: Best auth provider and db for a Next.js project?
1 points by playfantasydraw 674 days ago
Best auth provider for a Next.js project? Repo is here if that helps: https://github.com/playfantasydraw/ably-nextjs-starter-kit

Project also uses Ably and is deployed on Vercel.

I have a good amount in Azure credits so if there's a good Azure solution, that would be cool.

With the db, each logged in user should be able to have more than one unique entry in the contest.

2 comments

Not sure about Azure ecosystem but huge fan of https://clerk.com/.

Trying out https://stack-auth.com/ which just launched on HN, mostly out of OSS solidarity

I'm a big fan of Supabase. It's a SAAS but you can self-host the open-source stack if you want, and their big goal is to have an array of out-of-the-box services (auth, realtime push, etc) built on tight integration with a Postgres database.
Supabase I set up an authentication with, it was pretty straightforward. I was following this: https://github.com/vercel/nextjs-subscription-payments?tab=r...

Do you have suggestions for once users are logged in, for them to be able to submit a selection?

The most complicated use case is, each user can purchase multiple entries to a fantasy football contest. And then each week, each user should be able to submit their pick for each entry. The players available for selection each week differ per entry.

The most basic use case is, users login and get authenticated, and then on the Account page (which is included in the above linked repo), users can submit their picks manually, through like a Google Form.