Egen – Hamburger Project

Architecture

alt text

Steps to Run Application

1. Clone Project

git clone https://github.com/nutann3/egen-hamburger.git

2. Run Docker Compose

cd egen-hamburger
docker-compose up -d

Navigate to http://localhost:8080/locations

API Endpoints

Locations

Method URL Description
GET /locations Get locations
PUT /locations Add/Update locations
GET /locations/{id}/timings Get location timings
PUT /locations/{id}/timings Add/Update location timings
GET /locations/{id} Get location by
DELETE /locations/{id} Delete location by

Menu

Method URL Description
GET /locations/{id}/menu Get menu by location

Reservations

Method URL Description
GET /locations/{id}/reservations Get reservations by location
PUT /locations/{id}/reservations Add/Update reservations by location
GET /locations/{id}/reservations/{date} Get reservations by location and date
PUT /locations/{id}/reservations/{date} Add/Update reservations by location and date
DELETE /locations/{id}/reservations/{date} Delete reservations by date
GET /locations/{id}/reservations/{date}/{table} Get reservations of a table by date

Stats

Method URL Description
GET /stats/api-exec-time Get average execution time of each API call

GitHub

View Github