ReactJS/RefluxJS application for Monolist. Served using node.js and Express.
npm install
from root project directorygulp dev
Now that gulp dev
is running, the server is up and serving files from the /build
directory. In addition, any changes made to the /app
directory will be automatically processed by Gulp and the changes will be injected via Browsersync to any open browsers pointed at the proxy address.
The application is served at localhost:3002
by default (to be run alongside the api).
Note: Any API calls will be made to localhost:3000/v1/
by default, unless changed in APIUtils.js.
gulp test
to run all tests. Coverage files are output to __coverage__/
directory.gulp test -f <path_to_file>
.Below is a .env
file (with any actual keys/credentials removed). This same structure can be used to add any extra configuration information you may need, available at process.env.*
while running on the server-side.
NODE_ENV='<production, development, etc>'
FB_DEV_ID='<app ID of development Facebook app>'
FB_PROD_ID='<app ID of actual Facebook app>'
AWS_KEY='<AWS access key>'
AWS_SECRET='<AWS secret key>'
S3_BUCKET='<AWS bucket name>'