simple example how to write server part with koa2, view with vuejs and setup automation UI testing with Nightwatch(PO model)
Stack :
npm i
npm run api
npm run dev
npm test
npm run test:api
if you get 'sh: ./test.sh: Permission denied' run 'chmod +x test.sh' and after npm test again