Sign in

Passionate full-stack developer and author. I’m a huge fan of the open-source mindset and love sharing my knowledge with the community.

Laravel’s service container is one of the most important pieces of the framework yet it gets so little attention from a lot of developers. Being interviewed a large number of candidates, I’ve realized that there are two main reasons behind this ignorance.

  • They find the idea of dependency injection hard to understand. Let alone the idea of IoC and IoC container.

So in this article, I’ll take you through step by step in understanding this magical concept. …

Benjamin Franklin once said —

A place for everything, everything in its place.

This applies to software development as well. Understanding which portion of the code goes where is the key to a maintainable code base.

Laravel being an elegant web framework, comes with a pretty organized directory structure by default but still I’ve seen a lot of people suffer.

Don’t get me wrong. It’s a no brainer that controllers go inside the controllers directory, no confusions whatsoever. The thing people often confuse themselves with is, what to write in a controller and what not to.

Table of Content

Without any doubt, Express is one of the most popular web frameworks out there. After its initial release on November 16, 2010, Express is still going strong with 50k+ stars on GitHub and being the base for a number of new web frameworks including Sails.js, NestJS, Feathers being the most popular ones.

Part of Express’s charm is its simplicity. It’s fast, unopinionated, and minimal. In other words, Express provides you with a powerful middleware system good enough for building great applications and lets you run free. You can make an entire application within a single app.js file or a robust…

In this article, we’ll go through the process of deploying a functional blogging API to AWS

Photo by Nynne Schrøder on Unsplash

Although Deno is still in a very early phase of its life and not ready for usage in production-grade applications, I decided to try and see if I could deploy a Deno application on AWS using the deployment process I usually use.

In this article, I’ll guide you through the process of setting up a CI/CD pipeline on Travis CI and deploying a Deno application on AWS Elastic Beanstalk. For deploying the database, we’ll be using the Amazon Relational Database Service (RDS). The application we’re going to deploy is an API that I made a few weeks ago:

This is…

In this article, we’ll go through the process of building a functional blogging API with Docker, Deno, Oak, and MySQL

If you’ve been working with Node.js for a while, then the chances are you’ve heard of Deno, the new JavaScript runtime with a special focus on security.

Although it’s still at an early stage, there are a good number of modules available. Thanks to services like Pika, you can even use npm packages inside Deno.

In this project, my goal was to see how much effort it took to build a simple API with authentication using whatever modules were available for the runtime in the moment. I also wanted to find out if I could Dockerize it with ease.


Farhan Hasin Chowdhury

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store