https://github.com/josephscript/my-retail
  
  
    myRetail is a rapidly growing company with HQ in Richmond, VA and over 200 stores across the east coast. The company’s annual revenue last year was $5 billion and growing at the rate of 10% year over year. myRetail sells general merchandise products, including a fast growing fresh grocery segment. The stores average 80,000 sq. ft. in size and carry around 20,000 products. myRetail wants to provide a multi-channel experience for its customers online. 
    https://github.com/josephscript/my-retail
  
        Last synced: 7 months ago 
        JSON representation
    
myRetail is a rapidly growing company with HQ in Richmond, VA and over 200 stores across the east coast. The company’s annual revenue last year was $5 billion and growing at the rate of 10% year over year. myRetail sells general merchandise products, including a fast growing fresh grocery segment. The stores average 80,000 sq. ft. in size and carry around 20,000 products. myRetail wants to provide a multi-channel experience for its customers online.
- Host: GitHub
 - URL: https://github.com/josephscript/my-retail
 - Owner: JosephScript
 - Created: 2017-05-19T21:49:29.000Z (over 8 years ago)
 - Default Branch: master
 - Last Pushed: 2017-05-30T15:38:16.000Z (over 8 years ago)
 - Last Synced: 2025-02-04T21:50:05.568Z (9 months ago)
 - Language: HTML
 - Size: 411 KB
 - Stars: 0
 - Watchers: 2
 - Forks: 0
 - Open Issues: 0
 - 
            Metadata Files:
            
- Readme: README.md
 
 
Awesome Lists containing this project
README
          # my-retail
## Overview
This is a React implimentation of myRetail's product page. It is built using Webpack, transpiled with Babel for ES6 syntax, and uses PostCSS/CSSNext for future forward CSS capabilities. Also included are ployfills for promises and fetch, and PostCSS vendor prefixes, so that it is compatible with IE11.
## Installation 
``` bash
$ yarn
```
OR
```bash
$ npm install
```
## Dev Server
``` bash
$ yarn start
```
OR
```bash
$ npm start
```
Then open your browser and nagivate to `http://localhost:3000/`. There is a microserver just for development in `server.js` which is started, and will automatically bundle your code using Webpack for you. It includes a mock API on the `/api/` route and an in memory file server. The JS starts with `main.js` and imports everything from there. When you run the application it will auto inject the compiled JS and styles into the index.html for you using a template which you can change at `src/index.html`, giving you Hot Module Replacement - thus dev changes are automatically reflected on the page without reloading or losing your state. Linting also occurs automatically and results are displayed in the browser. 
## Tests
``` bash
$ yarn test
```
## Deployment
``` bash
$ yarn build
```
Files are output in the `/dist` folder. Simply serve these with your desired file server. Otherwise if you want to load this into an existing application, you can include the main.js file and a div with `id="my-retail"`.