frankenstein32 / passport-auth-project

A project to implement auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project

The main aim behind this project is to implement simple login-logout website using One-Auth [Link].

About the Project

Files

  • 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.

Folders

  • 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

Images

1. Front Page

2. Register Page

3. Login Page

4. Dashboard

Setup process

  1. Clone the Project. git clone https://github.com/frankenstein32/passport-auth-project.git
  2. Open the project in any Text-editor/IDE.
  3. Run npm install
  4. Run npm start

Website: Project Link

About

A project to implement auth


Languages

Language:JavaScript 54.3%Language:HTML 45.7%