A clone of Drawful using express, socket.io and Vue.js.
npm install
npm run client:dev # watches and builds UI app and serves on port 3001
npm run server:dev # watches and rebuilds app server and proxies UI requests to UI server
Open http://localhost:3000.
npm run build
npm start
Set runtime environment variables for development by creating a .env
file in the root of the
project. E.g.
DEBUG=app*
DEFAULT_COUNTDOWN=5
A game for testing is always created with the id ABCD
. Unlike other rooms, won't be destroyed
when there are no players left.
To run unit tests:
npm run test
Tests are located in cypress/integration
.
To run integration tests:
npm run test:integration