An open API service indexing awesome lists of open source software.

https://github.com/gnuton/java-spring-template

stupid basic java spring boot template
https://github.com/gnuton/java-spring-template

Last synced: 3 months ago
JSON representation

stupid basic java spring boot template

Awesome Lists containing this project

README

        

```
____. ___________ .__ __
| |____ ___ _______ \__ ___/___ _____ ______ | | _____ _/ |_ ____
| \__ \\ \/ /\__ \ | |_/ __ \ / \\____ \| | \__ \\ __\/ __ \
/\__| |/ __ \\ / / __ \_ | |\ ___/| Y Y \ |_> > |__/ __ \| | \ ___/
\________(____ /\_/ (____ / |____| \___ >__|_| / __/|____(____ /__| \___ >
\/ \/ \/ \/|__| \/ \/

```
# Opinionated Java Spring template
This repo holds two small projects, a service discovery and a generic REST microservice.
The service discovery is a simple Eureka server which allows to the microservice client to talk to other microservices without knowing the real URL. Look a the other features the microservice offers out of the box.

# Usage
Import the two projects and run boot. Import the postman collection into postman and from there you can ping the APIs.

# Features
* Spring MVC with annotations
* Basic data persistence
* In Mem database for development (Apache Derby)
* Postman collection
* Load balancing/Sevice discovery - Handled by Eureka (https://spring.io/guides/gs/service-registration-and-discovery/)
* Fault tollerance/Resilience [TODO] - Circuit breaker/ Hystrix (https://spring.io/guides/gs/circuit-breaker/) https://dzone.com/articles/libraries-for-microservices-development
* Security [TODO]
* Tests [TODO]
* Exceptions handing [TODO]
* Docker [TODO]
* Travis CI [TODO]