Spring Boot Microservice with Java

Deploy a discoverable Spring Boot-based microservice with Java

Deploy Spring Boot Microservice with Java

microservice

UnirCs/back-end-spring-microservice-archetype

Just deployed

Spring Boot Microservice with Java Template

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Target Audience

This template is intended for everyone interested in deploying Spring Cloud and Spring Boot based microservices architectures.

โœจ Features

With this template you will deploy a Spring Boot-based microservice with Java and Maven. Java version used is 17, but you can change this whenever you want.

This microservice comes with Spring Cloud Netflix Eureka Discovery Client inside and it will try to register itself against the Eureka Server.

You also has these dependencies included:

  • Spring Boot Starder Data JPA.
  • Spring Boot Starter Web.
  • Spring Boot Starter Validation (Hibernate Validator)
  • Spring Boot Starter Test.
  • Spring Boot DevTools.
  • Lombok.
  • H2 in-memory database.
    • Console path: /h2-console.
    • JDBC URL: jdbc:h2:mem:testdb.
    • Username: sa.
    • Password: Leave it blank.

A REST Controller is defined with a straightforward GET mapping for the root path.

Maven is used for dependency management.

๐Ÿ‘€ See also

Check out Spring Cloud Netflix Eureka template.


Template Content

More templates in this category

View Template

mellow-vue

A full-stack Vue app with The Boring JavaScript Stack.


View Template

Sveltekit NestJS

Full-stack with SvelteKit + NestJS + Prisma + Postgresql with utils


View Template

.NET8 Web API

A basic ASP.NET Core Web API template (.NET 8)