Masatoshi Nishiguchi's Blog

HomeBadges

page title for Phoenix LiveView

Apr 17, 20212 min read

I want to update HTML title every time users navigates in my LiveView app. I put together what I learned in this topic. According to Phoenix LiveView documentation, it is as easy as providing a title text to socket.assigns[:page_title]. defmodule Mni...

Rate limiter for Phoenix app

Apr 13, 20213 min read

I wanted to throttle incoming requests to my Phoenix application. This is my note about how to set up a rate limiter in a Phoenix app. As I google, there is a nice library ExRated for setting up the rake limiter. The library does all the heavy liftin...

Loading Icon Component for Phoenix LiveView

Apr 13, 20211 min read

Today I am going to put together how to make a loading icon LiveComponent for Phoenix LiveView. Get a loader CSS First, I look for an open-source loader CSS because I am poor at designing and writing CSS. Luke Haas's Single Element CSS Spinners is ni...

Real-time page refresh using Phoenix LiveView and PubSub

Apr 3, 20213 min read

I enjoy IoT development using Elixir programming language, Nerves IoT platform and Phoenix web framework. It is so much fun. I was able to build a real-time temperature and humidity monitoring system for my living room. My API server accepts a sensor...

Simple token authentication for Phoenix API

Apr 3, 20214 min read

Recently I am really into IoT development using Elixir programming language, Nerves IoT platform and Phoenix web framework. After quickly learning the basics of electronics, I built a real-time temperature and humidity monitoring system for my living...

IoT development using Raspberry Pi and Elixir

Apr 2, 20214 min read

Today I am going to be talking about IoT (Internet of Things) development using Raspberry Pi and Elixir), using Nerves IoT platform. I usually work on web applications, but I started learning about embedded devices development to expand my expertise....

© 2021 Masatoshi Nishiguchi's Blog

PrivacyTerms
Proudly part of