0.1.0 • Published 5 years ago

@respond/buffer-products v0.1.0

Weekly downloads
141
License
ISC
Repository
github
Last release
5 years ago

Buffer products package

Installation

npm i @respond/buffer-products --save

Pre-requisite

Environment variables to query the core-auth-service: AUTH_SERVICE_HOST (example: authentication-service-dev.core-dev) AUTH_SERVICE_PORT (example: 80)

Usage

import { bufferProducts } from "@respond/buffer-products";
...
app.use("/core", bufferProducts());

From your front-end you can then request: GET https://yourbackendurl/core/buffer-products