Hi everyone,
I'm looking to implement a login/user system for my project in Node.js. But, I am not sure where to start so I wanted to ask you kind folks if my plan makes sense and if I'm missing anything important.
But I'm thinking my requirements would be something like:
I'm looking to implement a login/user system for my project in Node.js. But, I am not sure where to start so I wanted to ask you kind folks if my plan makes sense and if I'm missing anything important.
But I'm thinking my requirements would be something like:
- Login form that sends a post request to the Node.js server, and verifies credentials against ones stored in the database.
- Ensure proper security methods, like preventing SQL injections, XSS attacks.
- A system for keeping track of user sessions.
- A system for user roles (Admin/User).
- A way for password resets.
- A way for users to be created (will be done from admin dashboard).