Skip to content

peterklingelhofer/justifay-stream-api

 
 

Repository files navigation

Koa swagger api template

Stack

  • Koa
  • Koa grant
  • Swagger ui
  • Sequelize
  • Redis (cache)

Installation

npm install

Build (babel)

npm run build

Env

cp .env.example .env

Development

npm run dev

Testing

npm test

Db connection

Multiple db connections (mysql, postgres) are supported with sequelize. Config is at src/config/databases.js.

Connect to OAuth2 server using koa grant

This API can connect to an OAuth2 server like resonatecoop/id. Config is at src/config/grant.js.

LICENSE

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.2%
  • Dockerfile 1.5%
  • Shell 1.3%