- JDK 21
- Spring Boot
- Spring Security
- Spring Data JPA
- Lombok
- Mapstruct
- Swagger UI
- MySQL
- IntelliJ IDEA 2024
- Docker
- HeidiSQL
- Clone project:
git clone [email protected]:atuandev/bookstore-backend.git
- View all settings at
application.yml
- Install MySQL from Docker
docker pull mysql:8.4.0
- Run Container Docker
docker run --name mysql-8.4.0 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root -d mysql:8.4.0
Tutorial MySQL in Docker: https://www.youtube.com/watch?v=Oa7bpIZ6RxI&t=777s&ab_channel=Devteria
- Use HeidiSQL to connect the database with username:
root
, password:root
- Use Intellij to run a project
- Test API with Postman or SwaggerUI at
http://localhost:8080/bookstore/swagger-ui/index.html
Login Admin account:
- username:
admin
- password:
admin123
- MYSQL_PORT:... (default: 3306)
- MYSQL_USER: (default: root)
- MYSQL_PASS: (default: root)