Develop your first Spring Boot app in 5 mins

Photo by Clément Hélardot on Unsplash
Spring Initializr automatically creates the base project for us with selected language, version, and dependencies.
  • Here are two options as “Maven Project” and “Gradle Project”, and I choose “Maven Project”.
  • We have 3 languages: Java, Kotlin and Groovy, and I choose Java.
  • I use 2.5.0 Spring Boot version which is a ultimate stable release that I like most!
Project metadata
  • In project metadata section, we can set our project metadata.
  • There are some specific details like packaging and Java version. I choose Jar and Java 11.
  • In dependencies section you can add dependencies you need!
  • Since we’ll develop a basic rest controller, we added Spring Web as our only dependency.
File -> import -> Maven -> Existing Maven Projects
Select our project to run.
Whitelabel Error Page
controller package
Yes! We did it!

--

--

--

I am a big fan of Real Madrid CF and I love computer science!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Extend Root Disk for Linux in OCI

{UPDATE} Love Cards - Cartes Coquines Hack Free Resources Generator

Improve performance of Laravel’s pagination with complex queries

The Power of PWAs

Machine Learning Accelerator: Investing in Career Growth for Solutions Engineers at Facebook

The best way to paginate and effectively cache your firebase stored data

How To Add WooCommerce Custom Fields

Building Reusable Data Visualization Components for a Modern Web

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ahmet Özlü

Ahmet Özlü

I am a big fan of Real Madrid CF and I love computer science!

More from Medium

Add Auth0 authentication to a Java application using Datawiza in 5 mins

A better way to implement HTTP PATCH operation in REST APIs

How to Build a Web Scraping API using Java, Spring Boot, and Jsoup?

Application Development — Database Design the Better Way using Spring JPA, PostgreSQL and…

Design application better way