Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.29 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.29 KB

MACHathon-GraphCatalog

Query your product catalog's commerce data and static content through one GraphQL gateway API.

Tools we're using

Run Server

  1. Clone this repo git clone https://github.com/ordercloud-api/MACHathon-GraphCatalog.git
  2. Install dependencies in ./server with npm install
  3. npm start
  4. Navigate to http://localhost:4000/ where you shoud see Apollo GraphQL Playground (Docs)
  5. Try out some API requests!

Run example client

  1. First, run the server
  2. Install dependencies in ./client with npm install
  3. npm start
  4. Navigate to http://localhost:3000/

Account Credentials

We've put our sandbox account credentials in ./server/src/config.js in order to make it easy to get up and running quickly. To connect your own Ordercloud or Contentful account, edit the values in that file.