+ 1
How can I create a basic backend for user login and sign up on my site
How can I create a basic backend for user login and sign up on my site
5 Answers
+ 3
Headless WordPress seems to be popular though I think it's stupid.
There are many security concerns with writing login scripts from scratch so depending on your needs I would either use a CMS or look for a good repository on GitHub that you can modify for your needs.
+ 2
There are other questions that need to be answered before this. I would have show you as a flowchart
1. What language is it?
2. Are you using any backend framework (Ktor, Django, flask, springboot, etc)
If you're using a framework, just check from chatgpt.
If you're doing it from scratch, two things should be considered
1. Authentication
2. Authorization
The scope of writing an authenticator is wide, you will learn it in school for 2 semesters. ( I can barely remember the course )
Authorization is just about having a Bearer that is not null once login in and null when logout
+ 1
CHEROP KEPHA SIYA Heyy if u want to create a basic backend with a login and signup page on your website I advise you to check Firebase Authentication API because it supports node.js, python and even pure JavaScript (using their cdns) and they handle everything for you being very simple to use
0
You can create a basic backend for user login and signup using a framework like Node.js with Express.js, Python with Flask or Django, or Ruby on Rails, combined with a database like PostgreSQL https://www.skydivingindians.com or MongoDB. Implement user registration, login, and logout endpoints, ensuring strong password hashing and secure session management. Prioritize security measures and design for scalability.
0
Why don't you use a Django or Flask framework (Python)
Or try with PhP and SQL/non-sql database