Your not encourage to follow the principles, but it is recommended to follow it to for good practices as well as you can deliver a better code, with less bugs and with higher quality, if you have the knowledge of good patterns and i am the one who is interviewing i will not hire you, because your demonstrating that you cant deliver code with quality.
I think what you may be missing is exposing the port of the microservice, to expose it you may do something like this
docker run --my-container -p 3000:3000 -d my-image and you will be able to reach the container service.
Hello, i think your a little bit confused, this is an API it does not show any results on the backend, if you want to test this API you should follow the test section or use a tool such as postman or related to start communicating to the API and see the results.
Hey i am glad that you liked it,
well, i have used apis as for defining the routes of the api, maybe the it should be named routes instead of apis, in the api is recomended to only put api handling logic to have a more modular system, and the repositories is where is recomended to put the business logic and should be the…
Hey thanks for reading, i glad that you found it useful, i didn’t want to include mongoose because i wanted to make the articles more simple and easy to follow, but i would suggest mongoose because it gives you more tooling, but i have to say that the normal driver is pretty well to so, using one or another it is ok.
Hey, thanks for your comment, i will edit the post because it has some vague explanations like which data, what kind of data and all that things i will update this soon, thank again for your point.
The main purpose of this article is to show a way of how we can split and divide work through different workers so that they can…
Hello Zana, maybe you haven’t create the the `env file` where the environment variables are stored for each container.
For more information check the Github repo so you can see what are you missing.