Services/API
Last updated
Last updated
The core business functions are develop in services either using microservices or event driven actors.These can be implemented on the either as serverless or containers.
Languages:
Python as we want to build data driven application and in this domain python is the standard
Exception: BFF that only orchestrate calls from data apis / function (lambdas). There the improved performance of Node as well as the familiarity of the frontend team with Javascript matters more.
with a domain diagram (events, commands, actors, aggregates), interaction diagram and a first deployment diagram, (squnce diagram? not at this stage right?).
If it is a use containers else use serverless. Depending on your evaluation use the correct Bootstrap template to setup you project.
Principle of Good API Development vs Bad API Development
Bad API Developers start by write code and tackle the technical challanges. Good API designer enable fast feedback by designing the interfaces showing it to the (API) customer and itterate on that.
Bad API Developer design for days and weeks until "perfection". Good API Developers find the the point of minimal agreement with the customer and then write the code, find new challanges based on the technology and itterated again with the customer over the best solution.
Bad API Developer on initial implementation speed, Good API Developer focus on reduced cycle times (with api customers and technology).
Use API First Frameworks:
First we start designing the API with Swagger. The best tool to do this is the . I suggest adding the swagger editor to the docker-compose file in your project:
Create your swagger file: