This is a simple restaurant reservation API. that runs on Docker to use you can semply run:
dockor-compose up
if you are trying to run docker on windows you may face a error that says it is failing to build; it is a windows path problem that requires you to build the api app first then use its image for the docker-compose. try running:
docker build -f ./DockerFile --tag restaurant-api-docker .
then in filedocker-compose.yml
uncomment theimage: 'restaurant-api-docker'
and comment thebuild: .
then rundockor-compose up
and it will work perfectly
- api runs on port
3000
- Database is configured with one user on start, to login use:
emp_num: '0001' password: '123456'
- Database is congugered with one table also with number 1
so you can start using the API to add reservation with no need for any actions.
table_number = 1
- folder
docs
contains the flow chart of the reservation problem, and the postman documantation.
MIT