- Maven;
- Tomcat embedded;
- Spring Boot;
- JUnit;
- Lombock;
- Swagger OpenApi 3
Build the application:
mvn clean package
Build the docker image :
docker build -t news-search .
Run the news-search service with below command:
docker run -p 8080:8080 news-search
Or
Run the included docker-compose file with:
docker-compose up
http://localhost:8080/swagger-ui.html
Run the included docker-compose file with:
docker-compose down
Execute the postman collection json from this repo
Below are the 12-factor principles
* Codebase - GitHub
* Dependencies - Maven
* Logging - ELK
* Build and Run
Sonar yet to implement