Back
  • 2025

    Deploying an Elixir App to Fly.io: Setting Up Staging & Production with Github Actions (CI/CD)

    Here’s how I set up my Elixir app’s staging and production environments on Fly.io using GitHub Actions. This may not be the “perfect” way, but it’s the method I’ve found most effective. There are always different approaches, but this is what works for me.

    May 28, 2025 — 7 min read

  • Connect to your Postgres database outside Fly (PgAdmin, Beekeeper)

    Access your Fly.io-hosted Postgres database locally using external tools like PgAdmin, Beekeeper, or the command line for seamless management and debugging.

    May 28, 2025 — 1 min read

  • 2024

    Persistent Caching: Elixir, Cachex and Fly Volumes

    I recently faced two major issues with my micro SaaS application: Hitting the request limit of an API I rely on and Slow page load times due to fetching data directly from the API.

    To tackle these problems, I implemented caching to reduce redundant API calls and improve performance. While this initially helped, I ran into a new challenge: every time I deployed my application, the cache would reset. This forced users to fetch data directly from the API again, causing me to hit the request limit and experience slow page loads all over again.

    And that brings us to today — finding a better solution through persistent caching.

    Dec 4, 2024 — 4 min read

  • 2023

    Deploying Phoenix/Elixir App with Gitlab CI/CD on Fly.io

    I recently tried deploying my simple Phoenix/Elixir application on Fly.io, but boy did I hit some roadblocks along the way. Some of the resources I was using were outdated, But gladly, I was able to deploy my app successfully! Plus, I set up GitLab CI/CD, to make my life a little easier. So, I decided to write down everything I went through in case anyone else is struggling with the same stuff.

    Mar 9, 2023 — 6 min read

  • 2022

    Getting Google Drive Images: Google Drive API with Elixir

    I'm creating a website for our wedding and my fiance wants to have a public google drive where people can upload their images with us and show them on our site. Seems pretty easy to do (which it was) but while doing it, there are not many resources/documentation on how to do it, so here I am again making one

    Jan 27, 2022 — 3 min read

  • 2021

    Deploy Phoenix 1.6 / Elixir 1.3 on Render.com: A Working Guide

    Spent almost a week fixing errors after errors trying to deploy my Phoenix/Elixir App on render.com. So I decided to write my journey to hopefully help noobs like me.

    Dec 21, 2021 — 5 min read

  • Caching in Phoenix/Elixir with Cachex

    A quick and dumb-down explanation of how to set up cachex in phoenix/elixir and an optional cache table/service management for awesomeness. No more chitchat on why caching is important blah blah blah, let's go straight to coding.

    May 24, 2021 — 3 min read

  • Twelixir: My First Elixir Hex Package

    Being in this open-source community. I'm always fascinated by people willing to share their knowledge and make development a lot easier. Me being at the receiving end (most of the time), I somehow want to do the same, I've always wanted to contribute and create my own elixir hex package, at least in my own little way possible, help other developers too.

    Feb 27, 2021 — 2 min read

  • Phoenix LiveView: Chat App with TailwindCSS and POW Auth (Boilerplate)

    With my latest discovery of Phoenix LiveView and a fresh mind from Pragmatic Studio's Phoenix LiveView tutorial, I challenged myself to create a fully functional chat application.

    Feb 19, 2021 — 1 min read

  • 2020

    Creating Unique Constraint/Index Ecto.Migration: Elixir

    Have you ever found yourself in a position where you can find anything about something you really need? Just happen to encounter this problem doing my task for a company I'm working with and I can't find proper documentation about it. So here it is, hope I'm the last one who had troubles trying and finding the right way to do this.

    Dec 12, 2020 — 2 min read

  • Elixir: Cheatsheet

    Here are some elixir cheats that I hope can help you code more effectively. I'll continuously update this blog everytime I get to learn new techniques in elixir, I will also appreciate if you have some corrections or other cheats that I can add here. Thanks!

    Nov 10, 2020 — 3 min read

  • CKEditor5 With Custom Image Uploader in React

    Spent almost 2 days figuring out a proper way to use CKEditor5 image uploader. I've tried ckFinder, SimpleUploader, etc. but none of them worked maybe because none of the documentations made any sense to me. Luckily I found a StackOverflow conversation and somehow got what I needed working with just some minor tweaks.

    Aug 20, 2020 — 2 min read

  • Slack Message in Elixr

    Seding slack message through elixir, the easy way.

    Feb 13, 2020 — 3 min read

  • Easiest Way To Add Toaster Inside Phoenix/Elixir App

    So I've been finding the easiest way to integrate toaster in my phoenix app, and now I think I found one.

    Feb 3, 2020 — 2 min read

  • Multi-bootable USB Installer For Catalina and Mojave macOS

    First, you need a 16GB or above USB because Mojave is over 6GB and Catalina is over 8GB. we're gonna need to partition your usb into 2(for both OS)...

    Jan 28, 2020 — 3 min read

  • 2019

    It's Time To Step Up: Don't Waste Any Opportunity

    All of us have dreams but not a lot of us have plans and the courage to get there.

    Jul 9, 2019 — 3 min read

  • My Daily Logo Challenge

    I just want to document all of my designs here and let people see and judge me, nice idea right?

    Jan 25, 2019 — 3 min read

  • 2018

    Chatbot: React Native with DialogFlow

    Assuming you already have your dialogflow setup with intents, and you now want to integrate that with a react native app, well worry no more. Here is the complete code on how to integrate your dialogflow api to your mobile application.

    Dec 13, 2018 — 1 min read

  • Chart.js in Elixir/Phoenix with Filtering

    I was assigned to do the dashboard for this web application project were doing at my current job, and because it's dashboard, of course you have charts. Considering that it's just been months since I started doing backend stuff, i was quite pumped and curious on how to implement it on Elixir Phoenix (newbie alert).

    Jul 22, 2018 — 4 min read

  • CRUD: GraphQL with Elixir/Phoenix

    I'm currently studying GraphQL with Elixir/Phoenix in preparation for this web and mobile app project. Although it's easy to find tutorials on different sites, I've noticed that there's no source discussing the CRUD process as a whole, so I've decided to do this article to combine each process altogether. Hope it helps.

    Jul 20, 2018 — 3 min read