Skip to content

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages