At some point in writing API application or microservice, we have probably struggled with code architecture and organization. Modern technologies for building backend applications like Node.js or Go don’t even have any idiomatic way for project structure. That gives us the freedom of designing the most suitable architecture for our use case but also makes it easy to shoot ourselves in the foot.
And it was one of the best trips in my life. It was the first time I went to a conference, and even more so, I went there as a speaker.
We all know that Docker is awesome, but when it comes to separating deployment configs, there is little to no strict guideline. In this article, I will try to explain one of the most popular techniques which is using
docker-compose with environment variables. There is also an example with Node.js at the end.
What is competitive programming?
Sites like CodeForces, TopCoder, HackerRank, CodeChef,… ACM-ICPC, Olympiad in Informatics (for high school students), Google Code Jam, Facebook Hacker Cup,… Anything involves solving short problems in 2–5 hours by code using algorithms and data structures.