/Lob-REST-GraphQL

GraphQL representation of Lob REST API.

Primary LanguageJavaScript

Lob-REST-GraphQL

GraphQL representation of Lob REST API.

Installation

  • Download or Clone this project.
  • Go to backend directory.
  • Make sure to create your own config file with Lob's test API_KEY. (Refer to Lob's Documentation to generate the API_Key.)
  • Run the following command:
npm install

Run the server

npm start

To Use GraphiQL

Go to http://localhost:4000/graphql

Examples of requests that you can make

  • createaddress
  • listalladdress
  • findaddressbyid
  • delete