This is a Node.js application. It uses Express.js for back-end, MongoDB for the database, Vue.js for front-end and Mocha.js for testing.
Install application with:
npm install # To install all dependencies
Run server from root. Will run on http://localhost:5000/
npm run dev # For development server,
# Automatic reload with nodemon
npm start # For production server
Run front-end server from /client/ Will run on http://localhost:8080/
npm run serve # For starting front-end development server
Build the front-end by:
npm run build # Will build the project in /server/public
To run unit tests locally use:
npm test # This will run the tests located in /test
To run acceptance tests locally use:
npm run acc-test # This will run the test located in /acc_test
After a push or pull request it will run the tests on Travis.
You can now publish the application on your cloud service.