View Code? Open in Web Editor
NEW
A basic Authentication System. Which can be used as a starter code for creating any new application.
JavaScript 49.22%
CSS 24.61%
HTML 26.17%
authentication-system's Introduction
- A basic Authentication System which can be used as the first step in any web application.
![Welcome Page](/Image/welcome.JPG)
![SignIn Page](/Image/sign-in.JPG)
This code follows MVC (Model, View, Controller) Architecture.
- 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.
- Connect to mongodb.
- Give user credentials in
config > passorport-google-outh2
.
- Run command:
nodemon ./index.js
- Go to https://localhost/8000.
- Happy Learning