- Spring Boot 3.0
- Java 17
- Spring Data JPA
- Hibernate
- MySQL Database
- Maven
- Postman
spring.datasource.url=jdbc:mysql://localhost:3306/user_management
spring.datasource.username=root
spring.datasource.password=12042003
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
spring.jpa.hibernate.ddl-auto=update
management.endpoints.web.exposure.include=*
management.info.env.enable=true
management.endpoint.enable=true
management.endpoint.health.show-details=always
management.endpoint.shutdown.enabled=true
info.app.name=Spring Boot Restful Web Services
info.app.description=Spring Boot Restful Web Services Demo
info.app.version=1.0.0
- entity
- repository
- service
- controller
- mapper
- exception
- Application
Field | Type | Null | Key | Default | Extra |
---|---|---|---|---|---|
id | bigint | NO | PRI | NULL | |
create_by | varchar(255) | YES | NULL | ||
create_date | datetime(6) | YES | NULL | ||
last_midified_date | datetime(6) | YES | NULL | ||
last_modified_by | varchar(255) | YES | NULL | ||
email_address | varchar(255) | NO | NULL | ||
first_name | varchar(255) | NO | NULL | ||
last_name | varchar(255) | NO | NULL |
POST User: http://localhost:8080/api/users
GET One User: http://localhost:8080/api/users/1
GET All Users: http://localhost:8080/api/users
PUT User: http://localhost:8080/api/users/1
DELETE User By Id: http://localhost:8080/api/users/1
master