Create the first service

A service is a logical group of functions and subscriptions. This is where the business-driven aspect comes in. In our example, we will use the classic example - Users.
At the end, we want to have two business areas - User and Email. ... ? What is the name (or business area) of your new service (something like: user or account) ... They should reflect a single entity or business name. ... For example, if you have a business area bank account, you can simply type in bank account. The CLI tool will convert it to something like bankAccount
After you have confirm your input by pressing the enter key, you will be asked for a short description of the service.
? What is the matter of service "user"Here, you should enter some short, general description, which will be used for some human-facing documentation. So, please provide here something like: manages data related to users.
In the last step, you will be asked for the version of your service. It defaults to 1, which you can simply confirm by pressing the enter key. If you need to create a new version of an existing service, you can enter any integer number larger than 1.
Version number of this service (1)Now, all files should be generated.
Start the service
In PURISTA, services are defined by using service builders. Based on the service builder, an instance of the service can be created. This instance needs to be started. By starting the service, the service will connect to the eventbridge and start listening for events.
