Skip to content

bharathkontham/ttms

Repository files navigation

Ticket Management for theatres APIs

Running using node

Requirements

  • Node.js 10.x
  • Elasticsearch 7.x

Start application

  • Clone repository
  • run below command to install node modules
 npm install
  • configure elasticsearch details in config/default.js

  • run server using below command

node server/server.js

Run using docker

  • Run
docker-compose up

Run tests

  • tests are done on controllers using jest framework
  • to run tests and get coverage reports run below command
npm run test