Simple Test for Spring Boot
-
To use 'lombok'
- For MAC: Go To IntelliJ IDEA -> Preferences -> Plugins -> Install Lombok -> Restart IntelliJ -> Build, Execution,Deployment -> Compiler -> Annotation Processors -> Enable Annotation Processing
- For Windows: Same as above but go to Files -> Settings
-
To Host Web
- Go to src/main/resources -> right click 'resources' -> Build module 'web.main'
- After building press 'CTRL+R' or Click Run on the top right corner
- GoTo localhost:8080
- Add HTML Code in /resources/templates
- Add java files in /src/main/java/com/web/controller to make controllers