This is a simple Login page created using Nodejs and MongoDB as database.It contains a simple homeage asking the user whether he needs a login page or a sign up page.And a button for both of these pages.The webaapp is made as a part of my learning in Nodejs and will try to implement more features like facebook login,twitterlogin,google+ login, ...etc.
- express
- ejs
- passport
- connect-flash
- bycrypt-nodejs
- morgan
- body-parser
- cookie-parser
- method-override
If you would like to download the code and try it for yourself:
- Clone the repo:
git clone [email protected]:scotch-io/node-authentication-guide
- Install packages:
npm install
- Change out the database configuration in
config/database.js
- Launch:
node server.js
- Visit in your browser at:
http://localhost:8080
Thank you ! ๐