Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 619 Bytes

File metadata and controls

33 lines (24 loc) · 619 Bytes

Booking

In order to get started spin up the containers, and install project dependencies.

# Docker containers up
# Install project dependencies
# Doctrine migrations
# Store active bookings from PMS faker

$ make init

Check application health

http://localhost:8080/health-check

Get active booking

http://localhost:8080/active-bookings/hotel/{hotel}/room/{room}

Required params:

  • hotel -> Stay hotel ID
  • room -> Number of hotel room

Method: GET

Run tests - unit (phpUnit) and functional (Behat)

#outside docker container
$ make test

#inside fpm container
$ make run-tests