Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/potapovdim/simple-vue-server-withtests

vuejs app with nightwatch and api tests
https://github.com/potapovdim/simple-vue-server-withtests

koa2 mocha nightwatch nightwatch-setup vue webpack

Last synced: 13 days ago
JSON representation

vuejs app with nightwatch and api tests

Awesome Lists containing this project

README

        

# simple example with docker, vuejs, webpack, koa2, mongodb

simple example how to write server part with koa2, view with vuejs
and setup automation UI testing with Nightwatch(PO model)

**Stack :**
* [vuejs](https://vuejs.org/)
* [vuejs router](https://router.vuejs.org/)
* [webdriver-manager](https://www.npmjs.com/package/webdriver-manager)
* [nightwatch](http://nightwatchjs.org/)
* [koa2](http://koajs.com/)

## Install

```
npm i
```

## Run

```
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