Implement user service and controller with CRUD functions master
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Tue, 23 Apr 2024 17:59:10 +0000 (20:59 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Tue, 23 Apr 2024 17:59:10 +0000 (20:59 +0300)
commit262e0e5d2cca15cc64808bb1ca6e65fd235a091b
treeda90c7bbe33bc1ca266782f96bc3a38209bb74b2
parenta645eac2377f835033493f9fb43b1702e9c40e8c
Implement user service and controller with CRUD functions

This commit adds a new User model with corresponding service, controller, and repository classes. Also, a list.html file is created to handle user display in the frontend. Extra database configurations are added in the application.properties file. The new user service integrates basic CRUD operations while the controller manages user-related HTTP requests.
src/main/java/eu/svjatoslav/alyverkko/controller/UserController.java [new file with mode: 0644]
src/main/java/eu/svjatoslav/alyverkko/models/User.java [new file with mode: 0644]
src/main/java/eu/svjatoslav/alyverkko/repository/UserRepository.java [new file with mode: 0644]
src/main/java/eu/svjatoslav/alyverkko/service/UserService.java [new file with mode: 0644]
src/main/resources/application.properties
src/main/resources/templates/user/list.html [new file with mode: 0644]