Small React-Redux project that showcase a small app that showcase the existing products and categories from Gousto.
-
Node.js - (First you need to install Node.js on your computer, for Windows and Mac users just download the wizard setup and for Linux users, please read this guide).
-
yarnpkg
Download or clone this repository into a directory of you choice.
- yarn install
- yarn start
- open http://localhost:3000
If you don't have yarnpkg, you can just use npm
- npm install
- npm start
- open http://localhost:3000
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can enable one mock of the service to quickly test this solution if the third-party servers are down.
For that you need to change the value enableMockService
to true, you can find this value in the following path: src/shared/util/service/index.js
When you've enable the mocking of the service the code should look like:
// if you want to enable the mock response
// only change the enableMockService to true
const enableMockService = true;
For cross origin accessibility please disable cross origin restrictions in your browser. Safari: Develop/Disable Cross Origin Restrictions, Chrome: install this plugin https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi)
This project was bootstrapped with Create React App.