+ 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

5th Jan 2025, 10:17 AM
CHEROP KEPHA SIYA
CHEROP KEPHA SIYA - avatar
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.
5th Jan 2025, 2:37 PM
Keith
Keith - avatar
+ 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
5th Jan 2025, 11:30 AM
Badgirl MIRI
Badgirl MIRI - avatar
+ 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
6th Jan 2025, 10:06 PM
justachillguy
justachillguy - avatar
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.
6th Jan 2025, 5:09 AM
Marcus Newkirk
0
Why don't you use a Django or Flask framework (Python) Or try with PhP and SQL/non-sql database
7th Jan 2025, 9:36 AM
Thato Selokela
Thato Selokela - avatar