@remap/services

2.0.0 • Public • Published

@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()

Readme

Keywords

none

Package Sidebar

Install

npm i @remap/services

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

8.11 kB

Total Files

8

Last publish

Collaborators

  • remap-admin
  • sugarshin