This code is part of a blog post.
The link to the blog post is given here. https://adityasridhar.com/posts/how-to-create-simple-rest-apis-with-springboot
Read the blog post to make the best use of this repo :)
Ensure you have maven installed in your system. You can install it from https://maven.apache.org/
Also ensure maven path is set in you System so that you can run mvn
commands
Clone this code to your local using the following command
git clone https://github.com/aditya-sridhar/simple-rest-apis.git
Or you can import the project into an IDE of your choice. I Used Eclipse to test this out
The Application can be run using the following command
mvn spring-boot:run