- Springboot - Web server
- H2 - Database
- Postman - Client Http
- Java - Code Language
- Postman - Make API requests
- https://hub.docker.com/r/1000kit/h2 - Database Docker
- Code editor - Editor my code
- Authorization [register & login]
- Posts CRUD
- Users Read
- Request & response validation (Dto)
- Run cmd
docker-compose up -dto pull & setup docker image h2-database - Run cmd
docker build -t your-springboot-app .to build docker image - Run cmd
docker run -d -p 8080:8080 your-springboot-appto run docker container app
- Run cmd
mvn testto run test JUnit - Run cmd
./mvnw spring-boot:runto run project with debug - Run cmd
docker run -d -p 8080:8080 your-springboot-appto run project with docker container - Base url
http://localhost:8080/to test using postman or insomnia - We have provided collection & environment postman in postman folder
Happy coding :) Best regards [Erman Sibarani]