Until you create a Spring Boot project in Intellij and push it to Github

Overview

We have summarized the procedure for building a project environment using Spring Boot. I often forget the procedure, so I will write up to push to Github for myself.

environment

Spring Boot 2.3.1 (Spring Framework 5.2.7) Java11 (OpenJDK 11.0.2) Intellij Community Edition 2019.1.3

If you do not have Java 11, the following article will be helpful. Install OpenJDK 11 on macOS with Homebrew

Project creation

For Intellij Ultimate Edition, Spring Initizalizr is fine.

Install the "Spring Assistant" plugin. スクリーンショット 2020-06-20 22.24.49.png スクリーンショット 2020-06-20 22.25.09.png

Restart Intellij and create a new project. If you choose Spring Assistant, you can easily create a project like Spring Initializr. The set value is

Choose.

Dependencies can be added later, so add only the minimum. I put in Spring Web.

PUSH to Github

First, create a new repository on Github. スクリーンショット 2020-06-20 22.40.42.png Use the one that pushes the existing repository. Execute the following command in the local repository created earlier.

git init
git add .
git cm -m "initial commit"
git remote add origin [email protected]:pandarkness/sample.git
git push -u origin master

I was able to easily create a working Spring application.

Recommended Posts

Until you create a Spring Boot project in Intellij and push it to Github
How to create a Spring Boot project in IntelliJ
Create a Spring Boot project in intellij and exit immediately after launching
Create Java Spring Boot project in IntelliJ
[Spring Boot] How to create a project (for beginners)
Until you build a project described in scala with Maven and execute it with the scala command.
How to create a new Gradle + Java + Jar project in Intellij 2016.03
Launch (old) Spring Boot project in IntelliJ
Create a Spring Boot web app that uses IBM Cloudant and deploy it to Cloud Foundry
Creating a project (and GitHub repository) using Java and Gradle in IntelliJ IDEA
Run a Spring Boot project in VS Code
Create a Spring Boot application using IntelliJ IDEA
How to add a classpath in Spring Boot
Java tips-Create a Spring Boot project in Gradle
[Spring Boot] If you use Spring Boot, it was convenient to use a lot of util.
When I defined a session scope bean in Spring Boot, it behaved strangely and needed to be adjusted.
Until you start development with Spring Boot in eclipse 1
Until you start development with Spring Boot in eclipse 2
Until INSERT and SELECT to Postgres with Spring boot and thymeleaf
How to call and use API in Java (Spring Boot)
Create API to send and receive Json data in Spring
Click the [rails] button to create a random alphanumeric password and enter it in the password field
RSocket is supported in Spring Boot 2.2, so give it a try
How to make a hinadan for a Spring Boot project using SPRING INITIALIZR
Spring Boot 2.0 Actuator, 3 changes you need to know to get it working
How to display characters entered in Spring Boot on a browser and reference links [Introduction to Spring Boot / For beginners]
Create a Spring Boot app development project with the cURL + tar command
A story about a Spring Boot project written in Java that supports Kotlin
How to create a server executable JAR and WAR with Spring gradle
Steps to create a simple camel app using Apache Camel Spring Boot starters
Have a tool to create and open a new canvas in Mac preview
Java --Introduce CheckStyle plugin to IntelliJ IDEA and reflect it in formatter
Add spring boot and gradle to eclipse
When internationalizing is supported by Spring Boot, a specific locale is not translated and I am addicted to it
Getting started with Gradle (until you create a Java project and combine external libraries into one executable JAR)
Getting started with Maven (until you create a Java project and combine external libraries into a single executable JAR)
Let's create a TODO application in Java 2 I want to create a template with Spring Initializr and make a Hello world
Sign in to a Spring Boot web application on the Microsoft ID platform
A memo to simply create a form using only HTML and CSS in Rails 6
[Spring Boot] How to get properties dynamically from a string contained in a URL
How to ZIP a JAVA CSV file and manage it in a Byte array
When you want to notify an error somewhere when using graphql-spring-boot in Spring Boot
[Spring sample code included] How to create a form and how to get multiple records
From creating a Spring Boot project to running an application with VS Code
Create a website with Spring Boot + Gradle (jdk1.8.x)
Create a simple search app with Spring Boot
Output request and response log in Spring Boot
Try to create a bulletin board in Java
[2018 definitive edition] [Java 11 containerization] After downsizing the Spring Boot application to the limit, build it with Jib and push it to ECR
Run JUnit and Spock in a maven project
How to create a theme in Liferay 7 / DXP
[1st] How to create a Spring-MVC framework project
How to easily create a pull-down in Rails
How to bind to property file in Spring Boot
Create a web api server with spring boot
View the Gradle task in the Spring Boot project
Create a Spring Boot development environment with docker
I tried to create a shopping site administrator function / screen with Java and Spring
How to implement authentication process by specifying user name and password in Spring Boot
Ssh to Ubuntu on VirtualBox on your Mac and do it until you install Docker
How to create a header or footer once and use it on another page