Univeral React / Redux Web Application using cutting edge technologies
- React
- React Router
- Express
- Babel
- Webpack
- Webpack Dev Middleware
- Webpack Hot Middleware
- Redux
- Redux Dev Tools
- redux-form
- multireducer
- style-loader
- react-helmet
- webpack-isomorphic-tools
- mocha
- chai
- sinon
- karma
- enzyme
The application can be ran and provisioned inside Absolute Orange Vagrant box
https://github.com/absoluteorange/Vagrant-for-AOL
Alternatively it can be ran locally it requires (Faster to build):
- [NodeJS] (https://nodejs.org/en/)
- MongoDb
- ImageMagick
Obtain Stormpath credentials https://stormpath.com/ and Set Env:
export STORMPATH_CLIENT_APIKEY_ID=
export STORMPATH_CLIENT_APIKEY_SECRET=
export STORMPATH_APPLICATION_HREF=Obtain AWS credentialsand Set Env:
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=Add google credentials:
vim api/data/google.json
{
"type": "service_account",
"project_id": "cof-survey",
"private_key_id": "6951e8c77a700d7cbf582b0f1fff1775aaab68ce",
"private_key": "example",
"client_email": "cof-155@cof-survey.iam.gserviceaccount.com",
"client_id": "104008912787416847870",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/cof-155%40cof-survey.iam.gserviceaccount.com"
}
npm installnpm run devnpm run build
npm run start