Skip to content

shersoft-ltd/nodejs-beer-performance

Repository files navigation

nodejs-perf-testing

A NodeJS app with experiments around performance. Find out more about how this is used to test services in a CI/CD pipeline in the accompanying article.

Target areas

  • Logging and serialisation
  • Request body validation

Installation

$ npm install

Prepare database

docker-compose up -d

Running the app

# generate PG DB types
$ npm run pgtyped

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published