In this story, I will build a sample Spring Boot application that serves as a simple RESTful Web Service.
If you want to skip to the result, you may check the GitHub repo.
Before reading, you may want to confirm you have installed JDK 11 on your computer.
Go to https://start.spring.io/ and set the project metadata you want. I am going to use Gradle, Java 11, and Spring Boot 2.4.5 for project initialization. Click “GENERATE” to get the project skeleton. A “demo.zip” should be downloaded.
You may unzip the project into any folder you want and open it with VS…
This story is going to walk through the installation for JDK 16 for further stories.
4. Set up the environment variables for JAVA_HOME. Open “Settings” and search for “View Advanced System Settings”. Click “Environment Variables” and add a variable on “System variables” section with JAVA_HOME as the variable name and “C:\Program Files\Java\jdk-16.0.1” as the variable values.
Recently, I want to setup a website using GitHub pages and use React as the Frontend framework. There are lots of resources in GitHub and Google around this combination. However, there are few points that need to be aware of when I actually try to create the GitHub page.
Share stories in my journal on programming and hobbies!