npm install && npm start- Import connect.js
- Invoke in start()
- Setup .env in the root
- add MONGO_URI(database connection), JWT_LIFETIME(token life), JWT_SECRET(key used to create the token)
- auth.js
- jobs.js
- application.js
Email Validation Regex
/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/- helmet
- cors
- xss-clean