2.0.0 • Published 6 years ago

@remap/services v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago