Skip to content

A simple shopping cart example leveraging relay & GraphQL with routing and pagination.

Notifications You must be signed in to change notification settings

soonlive/relay-cart

Repository files navigation

relay-cart

A simple shopping cart example leveraging relay & GraphQL with routing and pagination

Usage

clone this repo and run:

npm install
npm start

and then visit http://localhost:3000/

Demo

View a demo here: http://120.76.218.113/relay-cart/demo.html. Add items to the cart and change the quantities.

Developing

Any changes to files in the 'js' directory the server to automatically rebuild the app and refresh your browser. If at any time you make changes to data/schema.js, stop the server, regenerate data/schema.json, and restart the server:

npm run updateSchema
npm start

About

A simple shopping cart example leveraging relay & GraphQL with routing and pagination.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published