A JavaScript client of ReMap Microservices for Browsers and Node.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
src
.eslintrc.json
.gitignore
.node-version
README.md
babel.config.js
browserslist
package.json
test.ts
tsconfig.json
yarn.lock

README.md

@remap/services

CircleCI

A JavaScript client of ReMap Microservices for Browsers and Node.js

yarn add @remap/services

Usage

import ReMap, { Restaurant, RestaurantsSearchQuery } from '@remap/services'

const client: ReMap = new ReMap()

(async () => {
  const res: Restaurant[] = await client.getRestaurants({} as RestaurantsSearchQuery)
})()

APIs

Restaurant

  • client.getRestaurants()
  • client.getRestaurantById()

Stocks

  • client.createStock()
  • client.getStocks()
  • client.getStockById()
  • client.deleteStockById()

Authentication

  • client.authenticate()