The Twelve-Factor App is possibly one of the best resources available to developers working on building Software as a web service.
This is programming language or technology agnostic.
One codebase tracked in revision control, many deploys
Explicitly declare and isolate dependencies
This demo illustrates using Spring Cloud Config Server to store configurations
Treat backing services as attached resources
Strictly separate build and run stages
Execute the app as one or more stateless processes
Export services via port binding
Scale out via the process model
Maximize robustness with fast startup and graceful shutdown
Keep development, staging, and production as similar as possible
Treat logs as event streams
Run admin/management tasks as one-off processes
The Twelve-Factor App - https://12factor.net/