You can see the (master branch) mobile UI setup here
The technology used here is:
And the files are under esp/build_data
Inside the ./mock-api folder do:
npm install
npm run web
- Starts frontend on localhost:8000
npm run api
- Starts api on localhost:3000
gulp watch
- Watches changes and creates 2 files automatically; final.html
and index.gz
Now you can start editing esp/build_data/build_index.html
If your mock-api is not responding, see /esp/build_data/main.js, theUrl should be (your API url:port)
You can run End to End test (for the Web UI) against the current master branch with this command:
npm test
If you want the tests to be run automatically everytime you edit mock-api/casperjs/test
use:
npm run autotest
Edit tests under mock-api/casperjs/test
UPDATE NEEDED!!