Skip to content

Applying twelve-factor methodology or in other words applying best practices to develop applications which will run as a service. E.g. Spring Boot, Git, Ansible, Liquibase, Docker, Jenkins and many others.d many

Notifications You must be signed in to change notification settings

azatsatklichov/12factor

Repository files navigation

12factor

Twelve-Factor Methodology in a Spring Boot Microservice

  1. Liquibase If the application uses Hibernate – we're going to take a look at a very useful way of generating the changeLog. https://github.com/liquibase/liquibase-hibernate/wiki

B. Via Swagger http://localhost:8888/swagger-ui.html

DONE

TODO BE

-Thymeleaf -PDF -Mail services -Properties with Spring and Spring Boot - https://www.baeldung.com/properties-with-spring

TODO FE

TS client Node.js Mongo DB

To test API either use Browser-Swagger, Postman REST client, IntelliJ http-client, or JUnit

A. Test on browser

http://localhost:8888/hello/getBook

B. Via Swagger

http://localhost:8888/swagger-ui.html

C. Postman

Install Postman client. POST method, http://localhost:8888/api/rate Set headers: Content-Type = application/json Accept = application/json

BODY { "amount": 3, "product": "Nike" }

D. IntelliJ Scratches

See docs/ directory

E. JUnit tests - https://www.baeldung.com/rest-template

run: RestTemplateClient

About

Applying twelve-factor methodology or in other words applying best practices to develop applications which will run as a service. E.g. Spring Boot, Git, Ansible, Liquibase, Docker, Jenkins and many others.d many

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages