📦main
┣ 📂java
┃ ┗ 📂com
┃ ┃ ┗ 📂demo
┃ ┃ ┃ ┗ 📂meetup
┃ ┃ ┃ ┃ ┣ 📂config
┃ ┃ ┃ ┃ ┃ ┣ 📜BeanConfig.java
┃ ┃ ┃ ┃ ┃ ┗ 📜RestExceptionHandle.java
┃ ┃ ┃ ┃ ┣ 📂core
┃ ┃ ┃ ┃ ┃ ┗ 📂exception
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜MeetupException.java
┃ ┃ ┃ ┃ ┣ 📂user
┃ ┃ ┃ ┃ ┃ ┣ 📂controller
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜UserController.java
┃ ┃ ┃ ┃ ┃ ┣ 📂exception
┃ ┃ ┃ ┃ ┃ ┃ ┣ 📜AlreadUserEmailException.java
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜UserNotFoundException.java
┃ ┃ ┃ ┃ ┃ ┣ 📂model
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜User.java
┃ ┃ ┃ ┃ ┃ ┣ 📂repository
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜UserRepository.java
┃ ┃ ┃ ┃ ┃ ┗ 📂service
┃ ┃ ┃ ┃ ┃ ┃ ┗ 📜UserService.java
┃ ┃ ┃ ┃ ┗ 📜MeetupApplication.java
┗ 📂resources
┃ ┣ 📂db
┃ ┃ ┗ 📂migration
┃ ┃ ┃ ┣ 📜V100_202212192246__create_hibernate_sequence.sql
┃ ┃ ┃ ┗ 📜V100_202212192248__create_table_user.sql
┃ ┣ 📂messages
┃ ┃ ┣ 📜messages_en.properties
┃ ┃ ┣ 📜messages_es.properties
┃ ┃ ┗ 📜messages_pt.properties
┃ ┣ 📂static
┃ ┣ 📂templates
┃ ┗ 📜application.properties
📦meetup
┣ 📂user
┃ ┣ 📂controller
┃ ┃ ┗ 📜UserControllerTest.java
┃ ┗ 📂service
┃ ┃ ┗ 📜UserServiceTest.java
┣ 📜GenericControllerTest.java
┗ 📜MeetupApplicationTests.java
http://localhost:8080/api/v1/users/{id}
http://localhost:8080/api/v1/users
{
"name": "teste1",
"email": "[email protected]"
"password": "teste"
}