Spring Boot Blog Application REST API's
- Java 17
- Spring Boot 3.1.1
Create database myblog
Create user with admin role
in mysql
Roles are automatically created
# MySQL Config
spring.datasource.url=jdbc:mysql://localhost:3306/myblog
spring.datasource.username=bestuser
spring.datasource.password=bestuser
#secret javaproject
app.jwt-secret=ce02356f9917223373f26bb97ef5c3e4fafef9cde898bf9cf960e7d08e74ffef
app-jwt-expiration-milliseconds=604800000
spring.profiles.active=dev