- Install packages with
mvn package
- Run
mvn spring-boot:run
for starting the application (or use your IDE)
Application (with the embedded H2 database) is ready to be used ! You can access the url below for testing it :
- Swagger UI : http://localhost:8080/swagger-ui.html
- H2 UI : http://localhost:8080/h2-console
Don't forget to set the
JDBC URL
value asjdbc:h2:mem:testdb
for H2 UI.
- Fork this project
- Enhance the code in any ways you can see, you are free!. Some possibilities:
- Add tests
- Change syntax
- Improve doc and comments
- Fix any bug you might find
- Edit readme.md and add any comments. It can be about what you did, what you would have done if you had more time, etc.
- Send us the link of your fork
- use java 8
- Readability of your code
- Documentation
- Comments in your code
- Appropriate usage of spring boot
- Appropriate usage of packages
- Is the application running as expected
- No performance issues
- Added Validations for the bean Object
- Added Custom Vaidation if no data found in DB for the given employee ID
- Responds the user with correct error response in case of any failure
- Added ControllerAdvice for the Controller class
- Can add test cases