DEV Community

loading...
Cover image for 🔥🔥backend for login form. Easy to make fully working form

🔥🔥backend for login form. Easy to make fully working form

Modern Web
Hello, I am kunaal a fullstack developer.I have a youtube channel "Modern Web" where I teach to make awesome web UI/ UX. Don't forget to checkout my youtube channel
・1 min read

Hello, glad you are here. I am kunaal and today we will see how to make a fully working login and register form with psql databse and nodejs as a backend.

Video Tutorials

Watch these tutorial to learn to make this login register form. You can see its demo also.

Part - 1:

Part - 2:

I hope you understood everything. If you have any doubt or you find any mistake that I made or you have any suggestion feel free to ask me in comment.

If you are interested in programming and want to know how I a 15yr old teen do coding make these design. You can follow me on my Instagram. I am also planning to post my game development stuff on Instagram.

Source Code, My youtube Channel, Instagram

Discussion (3)

Collapse
tqbit profile image
tq-bit

Conveying the idea of storing passwords in a db looks rather good, but I noticed (at least in the source code), you're not hashing the user's password.

For a productive environment, you might want to consider storing a password hash rather than the raw text in a db. There are plenty of libs to do so, one of which is called bcrypt npmjs.com/package/bcrypt

Collapse
chrisczopp profile image
chris-czopp

In this case, there is no need for third-part libraries as there is native node module: nodejs.org/api/crypto.html

Collapse
kunaal438 profile image
Modern Web Author

Yup! Its necessary to store password in hash form in DB but this tutorial purpose was to teach how to store and retrieve data from DB with Node.js