https://github.com/allitov/hotel-api
API for hotel services.
https://github.com/allitov/hotel-api
docker java kafka liquibase lombok mapstruct mongodb postgresql spring-boot spring-security spring-web-mvc springdoc-openapi-ui testcontainers
Last synced: 2 months ago
JSON representation
API for hotel services.
- Host: GitHub
- URL: https://github.com/allitov/hotel-api
- Owner: allitov
- Created: 2024-03-28T05:51:49.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-30T17:05:04.000Z (10 months ago)
- Last Synced: 2025-02-14T12:17:02.356Z (4 months ago)
- Topics: docker, java, kafka, liquibase, lombok, mapstruct, mongodb, postgresql, spring-boot, spring-security, spring-web-mvc, springdoc-openapi-ui, testcontainers
- Language: Java
- Homepage:
- Size: 305 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hotel API
**API for hotel services.**## Running locally
### Clone the repository and move to the working directory
```shell
git clone https://github.com/allitov/hotel-api.git
cd hotel-api
```### Run the application
```shell
docker-compose --file ./docker/docker-compose.yaml up -d
```#### Stop the application
```shell
docker-compose --project-name="hotel-api" down
```### Run the application environment only
```shell
docker-compose --file ./docker/docker-compose-env.yaml up -d
```#### Stop the application environment
```shell
docker-compose --project-name="hotel-api-env" down
```## Documentation
To familiarize yourself with the application's API and see example queries,
you can refer to the [interactive Swagger documentation](http://localhost:8080/swagger-ui/index.html)
(available only after launching the application).