Skip to content

eifinger/smart-home-overview-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smart-home-overview-poc

Spring Boot 2 Application showcasing a smart home rest endpoint while using Spring Webflux, R2DBC and springdoc-openapi

Usage

The application is packaged and published as a docker container. If you have Docker installed you can run it locally and use curl or postman to use it.

docker run -p 8080:8080 -d ghcr.io/eifinger/smart-home-overview-poc:latest
curl --location --request GET 'http://localhost:8080/overview'

You can also use the Swagger-UI under http://localhost:8080/swagger-ui.html to see the available endpoints to create homes, rooms and thermostats

Testing the application

All tests are e2e/integration tests which test against Testcontainers.

This provides the benefit that the whole application with serializing, dependencies,... is tested.

When the application grows in complexity this approach should be revisited.

./gradlew test

Reference Documentation

For further reference, please consider the following sections:

About

Spring Boot 2 Application showcasing a smart home rest endpoint

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages