Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 661 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 661 Bytes

AuthPI in JavaScript

Simple authentication API server

Build Status

Installation

  1. git clone [email protected]:authpi/authpi-js.git
  2. cd authpi-js
  3. npm install
  4. export MONGO_STORE_URI=<mongodb_uri>
    export MONGO_STORE_SECRET=<victoria_secret>
    export AUTH_SECRET=<victoria_secret>

Development

  • npm start

Build

  • Production Build: npm run build
  • Development Build (with source maps): npm run build:dev

Lint

  • npm run lint

Debug

  • npm install -g node-inspector
  • npm run debug

Test

  • npm test