A front-end web application for tools management, like described at.
Created by vue-cli 3.
The Vue.js version used can be watched at package.json file in app folder.
Beyond app folder, there are 2 (two) submodules:
api
: embeds the source available at. It servers as application backend since it is a acceptance criteria. Therefore, it was deployed in an environment mounted on heroku at.e2e
: As the name suggests, it saves settings needed to run end-to-end tests for the application. It uses CucumberJS e Nightwatch-API.
It is need to have docker-compose, version 1.17.0+
, that supports 3.4
version configuration file.
docker-compose -f dev.yml up -d
docker-compose -f dev.yml exec app /bin/sh -c 'yarn test:unit --watchAll'
docker-compose -f dev.yml exec e2e /bin/sh -c 'npm run cucumber'
docker-compose -f dev.yml exec e2e /bin/sh -c 'browser=chrome npm run cucumber'
If you want to use the application while developing (for some visual adjustment, for example), access http://localhost:4300.
If you want to use a different data mass, it is just create/replace api/.db.json
file. There is a sample original file, api/db.json
.
Once the demand is finished, in the appropriate branch, just merge it into the master branch and push it to the remote repository. That action will trigger a new build on [travisci. That action will trigger a new build at Travis-CI, submitting the code to lint tests
, unit tests
and e2e tests
and, on success, it will publish the new version on. It is possible to confirm that new version was published watching the Travis-CI build number in the title of the main page.