Skip to content

Latest commit

 

History

History

backend

Backend MEVN scaffold

Project setup

# Install dependencies
$ npm install

Run the Api server

# Development mode
$ npm run start:dev

# Production mode
$ npm run start:prod

Unit testing

# Run unit tests
$ npm test

BDD testing environment

# Testing mode (Run only to cucumber and selenium frontend testing in the browser)
$ npm run start:bdd

Use MongoDB Docker image as a database

# run MongoDB image
$ docker-compose up db