Query your product catalog's commerce data and static content through one GraphQL gateway API.
- Apollo Server (GraphQL Implementation)
- Ordercloud (Headless Ecommerce Platform, MACH alliance member)
- Contentful (Headless Content Management, MACH alliance member)
- Node JS
- React
- Clone this repo
git clone https://github.com/ordercloud-api/MACHathon-GraphCatalog.git
- Install dependencies in
./server
withnpm install
npm start
- Navigate to http://localhost:4000/ where you shoud see Apollo GraphQL Playground (Docs)
- Try out some API requests!
- First, run the server
- Install dependencies in
./client
withnpm install
npm start
- Navigate to http://localhost:3000/
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.