This project was bootstrapped with Create React App.
To get started:
-
Install and start the API server:
cd api-server
yarn install
ornpm install
node server
-
In another terminal window, use Create React App to scaffold out the front-end:
cd frontend
yarn install
ornpm install
yarn start
ornpm start
├── README.md - This file.
├── package.json # npm package manager file. It's unlikely that you'll need to modify this.
├── public
│ ├── favicon.ico
│ └── index.html # initial html page
└── src
├── components # All shared components are here
├── enhancers # Some HOC components
├── pages # All page components that use shared components
├── store # Everything about redux is here
│ └── modules # all reducers, actions creators and types are here, like redux Ducks - https://github.com/erikras/ducks-modular-redux
├── test-utils # Some helpers to improve tests
├── themes # the themeProvider is setuped here
├── utils # Some helpers to code easier
└── index.js # File to used for DOM rendering only.
Information about the API server and how to use it can be found in its README file.
The backend API uses a fixed set of cached search results and is limited to a particular set of search terms, which can be found in SEARCH_TERMS.md. That list of terms are the only terms that will work with the backend, so don't be surprised if your searches for Basket Weaving or Bubble Wrap don't come back with any results.