wesleybliss / express-passport-api-server-demo

A demo Node.js app using Express & Passport for authentication.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express & Passport Demo

TODO

  1. Database or mock data
  2. Passport authentication
  3. Client example

Setup

# Clone the repository
$ git clone git@github.com:wesleybliss/express-passport-api-server-demo.git

# Install global dependencies
$ npm install -g gulp
$ npm install -g supervisor

# Navigate to the server source directory
$ cd server

# Install project dependencies
$ npm install

# Create a config
$ cd src
$ cp config.js.template config.js

Running

# Navigate to the server source directory
$ cd server
 
# Run the server
$ gulp

Accessing

In a browser or POSTMan, go to the URL:

http://localhost:8080/

About

A demo Node.js app using Express & Passport for authentication.


Languages

Language:JavaScript 100.0%