- A basic Authentication System which can be used as the first step in any web application.
- Assets: It contains all static file CSS.
- Config: It contains connection to Database, Authentication.
- Controller: It redirect the webpage according to user actions.
- Models: It contains Database Schema.
- Routes: It contains all routes.
- Views: It contins all file which render UI to browser.
- Clone the project.
- Go to folder.
- Run following command.
npm install - Connect to mongodb.
- Give user credentials in
config > passorport-google-outh2. - Run command:
nodemon ./index.js - Go to https://localhost/8000.
- Happy Learning