tonychew1986 / api-key-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Key Service

How does this work?

API Key Service allow admin users and internal applications to create corresponding API keys and secrets for permissioned access to Wallet Services. This service is recommended to be hosted on a separate server from other security conscious services.

Application Flow

Admin UI <-> API Key Service

Address Whitelisting Service <-> API Key Service

Wallet Aggregator <-> API Key Service

Available End points

  • GET /test
  • POST /account/
  • POST /authorisation/

ENV parameters

Available at ./instructions/env.md

Database Initialisation

Available at ./instructions/db.md

Instructions

To test application:

$ npm test

Install NPM modules on fresh deployment:

$ npm install

To run in development mode:

$ node index.js

To run in production mode:

$ pm2 start api-key-service/index.js --name "api-key-service"

About


Languages

Language:JavaScript 97.1%Language:Dockerfile 2.9%