Sample application to provide a UI rendering Marketplace Design GraphQL queries.
- Node 8+
- NPM 5.6+
This project was created using create-react-app
. It adds the following:
- React
- Webpack
- Babel
- ESLint
- NodeJS Dev Server w/ Live Reloading
More details on running and customizing your app can be found here.
Additionally, the following have been added support suport hackathon participants:
- Apollo GraphQL client for React
- React Material-UI
React Material-UI is used to quickly get started with a nice set of reusable UI components. Usage of these 3rd-party components and styles is limited to the src/components/Common
directory.
- Clone this repo
npm install
Add the following to the src/config.json
:
- The URL to the GraphQL endpoint
- An Authenticated User Session ID
- Using Chrome, log into HomeAway as an partner/owner using your normal credentials.
- While successfully logged into HomeAway.com, open the Chrome developer tools with the HomeAway web page as your active tab in Chome.
- In the dev tools window that opens, navigate to the
Application
tab - Under
Storage
, expandCookies
and find the cookies forHomeAway.com
. Locate a cookie namedHASESSIONV3
. The value of this cookie will be your session ID.
npm start
- Navigate to
http://localhost:3000/demo