Sample project to write unit, integration, API, browser and acceptance tests in JavaScript. The application is a simple Express.js backend with a Vue.js frontend.
- Node.js 10.x
Clone this repository:
git clone https://github.com/MediaComem/comem-archidep-js-automated-tests
Install dependencies:
cd comem-archidep-js-automated-tests
npm ci
Run the application in development mode:
npm run dev
Visit http://localhost:3000
Run the application in production mode:
npm start
Set $PORT
to customize the port on which the server will listen.
It defaults to 3000
.