Skip to content

georgibakken/calendar-booking-backend

Repository files navigation

calendarbooking server

REST API for calendar booking assignment, using Grails 4.0.6.

Prerequisites

  • Java 11
  • Gradle

Getting started

Use the gradle wrapper to run tests using: ./gradlew check

To run the application, run: ./gradlew bootRun

Visit http://localhost:8090/api/photographers/available?date=2020-11-25&bookingId=5

to get your available photographers.

Test data

When starting the application or running tests, test data from the assignment is added.

The booking used is hardcoded to the following:

{
  "booking": {
    "id": "3",
    "durationInMinutes": 90
  }
}

About

Simple calendar booking using Groovy & Grails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published