npm/oauth2-server-pg

Name: oauth2-server-pg

Owner: npm

Description: PostgreSQL and Express powered OAuth 2.0 server

Created: 2016-03-24 21:02:39.0

Updated: 2018-01-22 18:46:59.0

Pushed: 2017-05-31 21:25:00.0

Homepage: null

Size: 67

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

oauth2-server-pg

Build Status Coverage Status NPM version

A PostgreSQL OAuth 2.0 Server.

Usage

starting server:

n/oauth2-server-pg.js start --help

generating a client:

 /client

generating a token:

 /client/:client_id/token
Development and Testing

For convenience, this project can leverage Docker to run Postgres for you. If you have Docker installed (and the daemon running), then a Postgres db will automatically be created and destroyed when running tests via npm test. If you don't have Docker installed, you will need to run Postgres manually before testing.

When developing and testing locally (outside of just running npm t) with Docker installed, you can use the following npm run scripts for convenience:

License

ISC


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.