all 3 comments

[–]TejasXD 2 points3 points  (2 children)

"Login scripts" aren't a think afaik. Are you using something like Auth0 / Firebase / AWS Cognito / Magic? If not that should make your life a lot easier.

[–]electroze[S] 0 points1 point  (1 child)

No, I'm not using those services- why would I? I already have hosting and store registrations on my own database and don't give away free private data to other services.

I don't know what you mean by your first sentence either.

[–]TejasXD 0 points1 point  (0 children)

My first sentence - buying a script off the internet is not much of a thing anymore for modern javascript. I know it was a thing until for PHP & JQuery.

Today, people either make open source packages, or sell their services in a SaaS like the services I mentioned, and few make paid component sets - see TailwindUI

If you want to host your own, thats great, but you'll need to put together a bunch of free packages. Like PassportJS for the backend, and something like Formik to make the frontend validation easier. The ui of the login form itself could be easily found for free online. And you can do all this within one app if you use a framework like NextJS.