All Templates / Starters

Spring Boot Microservice with Java

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

Deploy Now

Details

UNIR - MISSI's Projects

Created on Jan 14, 2024

125 total projects

76 active projects

100% success on recent deploys

Java, Dockerfile

Starters



More templates in this category

View Template
mellow-vue

mellow-vue

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


My Workspace

View Template
.NET8 Web API

.NET8 Web API

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


Dango

View Template
Django Monolith

Django Monolith

A Django app connected to a Postgres database with Celery and Celery Beat.


Odogwu Machalla's Projects