indocoder.com

I just love to code!

[AWS] Hosting Web Application on AWS ECS using Nginx and Load Balancer

Deploying web applications on AWS ECS (Elastic Container Service) with a Load Balancer is a powerful way to achieve high availability and scalability for your web projects. In this tutorial, we’ll go step-by-step through the process of containerizing an application with Nginx, pushing it to Amazon ECR (Elastic Container Registry), and deploying it using AWS Read more about [AWS] Hosting Web Application on AWS ECS using Nginx and Load Balancer[…]

[Laravel 11] Create Dummy Table and Its Content using DB Seeder

Creating dummy data in your Laravel project is essential when building and testing applications. In this tutorial, we’ll walk through how to create a table and populate it with fake data using Laravel’s powerful Factory and Seeder features. Step 1: Set Up Your Database Before we begin, you need to set up your database and Read more about [Laravel 11] Create Dummy Table and Its Content using DB Seeder[…]

[AWS] Step-by-Step Hands On: Hosting Nginx on AWS ECS

In this hands-on tutorial, I’ll walk you through deploying an Nginx web server on AWS ECS. You’ll learn how to create a Docker image, push it to Amazon ECR, and set up ECS to host your application. By the end, you’ll have a basic understanding of how to run and manage containers in the cloud Read more about [AWS] Step-by-Step Hands On: Hosting Nginx on AWS ECS[…]

Menggunakan Fungsi json_agg() pada PostgreSQL

Sumber: http://johnatten.com/2015/04/22/use-postgres-json-type-and-aggregate-functions-to-map-relational-data-to-json/ Salah satu kelebihan dari PostgreSQL adalah memiliki tipe data array dan json. Di tutorial yang bersumber dari link di atas, kita akan menggunakan keuntungan ini untuk menyusun object JSON sebelum di return ke client. Fungsi2 yang akan kita gunakan untuk memudahkan operasi relasi antar tabel adalah: 1. row_to_json() 2. json_agg() Pertama kali kita akan Read more about Menggunakan Fungsi json_agg() pada PostgreSQL[…]

logo laravel

Laravel PHP dan Nginx dengan Docker

Pada tutorial kali ini saya akan berbagi untuk membuat aplikasi Laravel PHP termasuk NginX Docker container. Dengan Docker, kita tidak perlu menginstall aplikasi apapun di dalam laptop kecuali Docker. Laravel adalah PHP Framework yang paling populer, namun terkadang sulit untuk melakukan setup bagi orang yang pertama kali mengenal Laravel. Kalau kita membuka halaman awal cara Read more about Laravel PHP dan Nginx dengan Docker[…]