News for hackers. Stuff that matters.
Re:Show HN: A NextJS boilerplate to automate all the boring ... by audessuscest on Thursday August 31, 2023 @08:25AM (#37336095)
It uses NextAuth that in my experience works well only on Vercel (and they don't care)

Also please stop using mongodb

Re:Show HN: A NextJS boilerplate to automate all the boring ... by re-thc on Thursday August 31, 2023 @08:38AM (#37336229)
> Also please stop using mongodb

But it's the ONLY webscale database [0]

[0]: https://www.youtube.com/watch?v=b2F-DItXtZs

Re:Show HN: A NextJS boilerplate to automate all the boring ... by branperr on Thursday August 31, 2023 @09:06AM (#37336550)
Have you heard of this new db called dev/null? It’s super fast and web scale!
Re:Show HN: A NextJS boilerplate to automate all the boring ... by jdthedisciple on Thursday August 31, 2023 @08:29AM (#37336151)
> Also please stop using mongodb

Shouldn't be hard to replace with sqlite

Re:Show HN: A NextJS boilerplate to automate all the boring ... by alexlur on Thursday August 31, 2023 @09:03AM (#37336524)
NextAuth also intentionally made username-password authentication difficult to use because they think signing in with your Twitter or Google account is better.

Meanwhile their home page advertises “own your data”.

Re:Show HN: A NextJS boilerplate to automate all the boring ... by wdb on Thursday August 31, 2023 @04:27PM (#37343252)
yeah, and you cant have something like api keys
Re:Show HN: A NextJS boilerplate to automate all the boring ... by theogravity on Thursday August 31, 2023 @07:52PM (#37345066)
Didn't know about this. I started a new personal project using NextAuth but without the username/pass features. Might have to reconsider since I may eventually add that back in.

If not NextAuth/Auth.js, then passport.js?

Re:Show HN: A NextJS boilerplate to automate all the boring ... by marclou on Thursday August 31, 2023 @09:10AM (#37336619)
Why not MongoDB?

I've been using it for 6+ years and never had any issue

Over 30,000 people used my apps

Re:Show HN: A NextJS boilerplate to automate all the boring ... by lessaligned on Thursday August 31, 2023 @09:53AM (#37337191)
what other good recommendations do you have for auth?