===========
Frontend code for Seek Checkout
- Software installation:
- Sublime Text 3
- Currently stable Google Chrome
- [NodeJS 6.9.4][] (for development, testing, previewing, compiling and optimizing processes)
- [Webpack][] locally installed
- Setting up Environment and running app
- Install dependencies: In terminal, cd to this folder:
npm install
- Run
npm run dev
- Install dependencies: In terminal, cd to this folder:
- Optimize source code and prepare bundle for deployment: [TBD]
- Prepare upload bundle and upload to server: [TBD]
- MAKE sure .barbelrc file is in the main directory before running tests with the following presets
{ "presets": [ "react", "es2015" ] }
- Running tests
- Run
npm run test
- Run
- [React][] 15.3 and [Redux][] 3.5.2 for the Frontend Architecture
- [Webpack] for building and bundling.
- SASS (SCSS dialect) as CSS preprocessor
- Bootstrap as base CSS framework
- Form field validation: [TBD]
- Minimum browser's supports (as per overall TSD):
- [NodeJS 6.9.4][]
- [Webpack][]
- See dependencies in
package.json
Below are list of main components
- React: 15.3
- Redux: 3.5.2
- Bootstrap: 3.3.7
Fractal Folder Structure
- Install Nodejs [6.9.4]
- Install GIT
- Install React Developer Tools for Google Chrome.
- Go to Project root directory and run
npm install
. This will install Project dependencies. - Run
npm run dev
. This will start development node server. - Go to http://localhost:8081/home/ from Browser.
- Install Nodejs [6.9.4]
- Install GIT
- Open Git Bash (if you are using windows) and Go to Project Root.
- Run
npm run bundle
. This will create a ~dist folder with compiled code.