Contains nothing but simple email-password authentication based app complete with session implementation. User can signup using an email and password. He can login using the same. Appropriate error messages come up as well.
npm install
(customary).- Visit
mysql.js
and configure mysqlhost
,username
,password
anddatabase
. - Run mysql migrations using
node migration.js up
.
- /user/login - Login form
- /user/sigup - Signup form
- /dashboard - User to land post login
ENV_VARIABLE=development DEBUG=express-basic-email-auth:* npm start
Thanks to Milligram
- Forgot password
- Tests
- Header
- Proper Redirections
- Better Error messages
Thanks :)