Did you ever had a Laravel application and needs filters over your API? You might have tried GraphQL, however, you could write a simple one and don’t need any integrations.

In this article I’m going to implement a simple service which could work with Laravel eloquent ORM, it would handle relations and also the basic operators which uses the most.

The Idea

For instance, a simple article model which has so many tags and comments

There are so many ways to setup replication for a PostgreSQL master, but when it comes to docker, it could waste your time. In this article I will tell you how to setup a PostgreSQL master first, then we will add a slave for it using streaming replication method, all in docker containers.

Heads-Up !

Let’s setup a PostgreSQL database


docker logo
docker logo

In this article, I’m going to share my experiences with using Docker in both development and production mode. For reading this article you’ll need to know about docker itself, how it works, and run some docker commands before.

If you have never heard about docker or didn’t get a chance to work with it, please read the Get Started with Docker first and then continue reading this article.

I’m going to talk about 5 tips for using docker. These things came from the real problems which I faced while using docker in my company.

Do not store data inside a container

tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen.

tmux may be detached from a screen and continue running in the background, then later reattached.

by tmux wiki
I have created a website which helps you to use tmux. Most of the content of this article is coming from that website.
Check it out !


Installing tmux…

Amirhosein Zlf

A back-end developer who loves Real Madrid, Mercedes AMG Petronas F1 Team and Coldplay.

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