The Microservices Guidelines @ HelloFresh
A set of guidelines for microservices @ HelloFresh
How should I name my microservices?
We follow a naming convention for microservices at HelloFresh. Services should be named as follows:
- If the service relates to an entity (i.e. it's a noun), then take the plural form and append
-service
- For example:
ingredients-service
- For example:
- If the service relates to an action (i.e. it's a verb), then take that verb and append
-service
- For example:
auth-service
- For example:
When a tech lead creates the repository, it should follow this naming convention. The convention should also be followed in automation, CI, etc.