Skip to content
/ provider-template-js Public template

A template for a product provider built in NodeJS using Typescript and Koa

License

Notifications You must be signed in to change notification settings

mrzen/provider-template-js

Repository files navigation

Provider Template JS

This is a template project for building a project provider in JavaScript. It uses TypeScript and Koa as the foundation.

It's preconfigured with logging (via Winston), Authentication, and Persistence (via redis).

Authentication Credentials

Authentication credentials are stored in redis as a hash with a prefix of credentials:.

Key: credentials:${public_credential} Type: hash Properties:

  • private -- The private credential
  • enabled -- Determines if the credential is enabled or not.

The public credential is available on the koa context as credential

About

A template for a product provider built in NodeJS using Typescript and Koa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published