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
- Host: GitHub
- URL: https://github.com/gnuton/java-spring-template
- Owner: gnuton
- Created: 2019-06-07T12:27:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-11T22:33:29.000Z (almost 6 years ago)
- Last Synced: 2025-01-16T18:05:14.514Z (5 months ago)
- Language: Java
- Size: 87.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]