all InfoSec news
Day 2- 4 of subscription App
March 19, 2024, 12:58 a.m. | Afolabi Esther
DEV Community dev.to
In the last post, I created the project directory and had the server running.
In this post, I'll be working on the auth (sign-up route).
The logic to implement in the sign-up route are:
- validate email and password
- check if email is not already used
- hash the password..(not storing the password in plain text incase the DB gets breached)
- save the user to the database
- send back token
Make sure to:
- install express validator lib package (an express middleware …
app auth check directory email hash javascript logic password plain text programming project running server sign subscription text tutorial webdev working
More from dev.to / DEV Community
Jobs in InfoSec / Cybersecurity
SOC 2 Manager, Audit and Certification
@ Deloitte | US and CA Multiple Locations
Open-Source Intelligence (OSINT) Policy Analyst (TS/SCI)
@ WWC Global | Reston, Virginia, United States
Security Architect (DevSecOps)
@ EUROPEAN DYNAMICS | Brussels, Brussels, Belgium
Infrastructure Security Architect
@ Ørsted | Kuala Lumpur, MY
Contract Penetration Tester
@ Evolve Security | United States - Remote
Senior Penetration Tester
@ DigitalOcean | Canada