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. Note that this blog is for noobs (like me), so I had to really tell what needs to be done (dumb…
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. Cachex Installation: Add cachex to your list of dependencies:mix.exs def…
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. And in addition to that, I’ve added an authentication layer using POW Auth and install TailwindCSS. This project is a great boilerplate if you’re planning to build your own chat application or you’re just starting to learn LiveView just like me.
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.
This project is a great boilerplate if you’re planning to build your own chat application or you’re just starting to learn LiveView just like me.
- Authentication using POW Auth
- Integrate TailwindCSS Framework
- Realtime Messaging (LiveView, PubSub)
- Unread messages counter (automatically reads all messages when the conversation was open)
- Latest message preview (beside unread messages counter)
- Search conversation feature
- Messages grouped by date sent
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. …
We all love to cheat right? chill 😅, I mean using cheats to make our code simpler yet cooler. Here are some elixir cheats that I hope can help you code more effectively. I’ll continuously update this blog on my website (Elixir: Cheatsheet) every time I get to learn…
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. Prerequisite: React JS inside your phoenix/elixir app: react_phoenix A toaster you want to integrate: Cogo Toast — my toaster Once you’re done setting up react-phoenix, we can now create…