The main aim behind this project is to implement simple login-logout website using One-Auth [Link].
- app.js: The main file from where all invocation will start
- package.json: This file holds various metadata relevant to the project and is used to give information to npm that allows it to identify the project as well as handle the project's dependencies
- Proc File: This file is needed by heroku that specifies the commands that are executed by the app on startup.
- config: This folder will contain three files auth.js, keys.js, passport.js
- models: This folder will contain file User.js to setup schema for tha database
- routes: This folder will contain two files index.js, users.js which are basically two routes starting from the "/" route
- views: This folder will contain all ejs-handlebars templates
- Clone the Project.
git clone https://github.com/frankenstein32/passport-auth-project.git
- Open the project in any Text-editor/IDE.
- Run
npm install
- Run
npm start
Website: Project Link