- It is a SpringBoot application which provide REST APIs to user for posting blog, view blog etc.
- Authorization is added for users using Spring Security.
- Logged In User can post blogs and view all blogs.
- Individual Project
Java | SpringBoot | Spring Security | Lombok | PostMan | MySQL | Git
-
Copy the code and start it into your STS.
-
Then make change in application.properties file according to below image.
-
Then run the application as Spring Boot App.
-
Once it starts,we can open PostMan to test the application.
-
You will get JWT after login successfully.
-
Then go to header and provide in key : Authorization and in Value : Bearer your_JWT and hit Send button.
-
You can also watch all previous posted blogs ,find blog by Id etc.