zniszcz / zniszcz-auth

Simple JWT Authorisation Micro-Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zniszcz-Auth

Build Status Coverage Status dependencies Status

Simple JWT Authorisation Micro-Service

Installation

  1. Install dependencies
$ npm install
  1. Copy config files
$ cp ./config/config.json.dist ./config/config.json
$ cp ./config/crypto.json.dist ./config/crypto.json
  1. Fill correct connection data and crypto info (salt for storing passwords, secret for JWT and JWT token expiration).

  2. Run migration

$ ./node_modules/.bin/sequelize db:migrate
  1. Run seeds
$ ./node_modules/.bin/sequelize db:seed:all
  1. Run app
$ npm start

About

Simple JWT Authorisation Micro-Service


Languages

Language:JavaScript 100.0%