CryptoWatch: Elixir example project using GenServers, Phoenix Channels, Websockets and D3.js

CryptoWatch, an Elixir example project to experiment with GenServers, Phoenix Channels, Websockets and D3.js.

Like pro.coinbase.com, but BEAM-flavoured

GitHub repo https://github.com/christian-fei/crypto_watch

Ecto: An Introduction to Elixir's Database Toolkit

Ecto is the go-to database toolkit for Elixir developers. Read our beginner-oriented article to learn how it works and what’s special about it.

https://serokell.io/blog/ecto-guide-for-beginners

ecto_psql_extras: new release allows generating a healthcheck report of your PostgreSQL database

The new release of ecto_psql_extras adds a ‘diagnose’ method. You can use it directly in your Phoenix LiveView dashboard. https://github.com/pawurb/ecto_psql_extras#diagnose-report

Exception Monitoring for Elixir Phoenix with Sentry

A guide to show you how to set up exception and error monitoring for your Elixir Phoenix application with Sentry. Get notified when users find an error in your app.

Elixir Wizards S7E2 Re-Platforming One of the Original Dot Coms in Elixir with Angel Jose

The latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s7e2-jose/

Build an Elixir Redis API that's 100x faster than HTTP in less than 10 minutes

Need a fast server and client? HTTP too slow? Try the Redis Protocol for lightning fast, low-overhead API calls. It’s easy to implement and nearly every language has mature Redis clients that can connect.

https://docs.statetrace.com/blog/redis-server/

UUID as Primary key with Ecto

A simple example of how to introduce a Universally unique identifier (UUID) into your project. You just need to remember a small modification in the migration and the column type change.

More on: https://bartoszgorka.com/uuid-as-primary-key-with-ecto

Building a simple Calendly clone with Phoenix LiveView (pt. 2)

Hi there! Here’s part two of the “Building a simple Calendly clone with Phoenix LiveView” series, in which we will generate the initial project and domain models.

https://bigardone.dev/blog/2021/11/08/building-a-simple-calendly-clone-with-phoenix-live-view-pt-2

Happy coding!

Filters in Phoenix by Sundi Myint

“When you are building many Phoenix apps in a row, having a base model to start from can make things a lot easier.” Read more about how to implement filters in Phoenix in this new blog by SmartLogic Engineering Manager Sundi Myint. https://smr.tl/3CZ9xhZ

ThinkingElixir 072: TypeCheck with Wiebe-Marten Wijnja

In episode 72 of Thinking Elixir, we talk with Wiebe-Marten Wijnja about his project TypeCheck that provides a new kind of runtime type checking for Elixir applications. The syntax builds on your existing spec types so it still works for dialyzer but adds additional compile time created checks. It also works for generating property based test data. This feature comes out in a new ability called “spectest”. Like doctests, you can have automated checks that verify the function adheres to the spec! We also cover how TypeCheck allows writing type declarations for other libraries like Ecto and Plug. There are some interesting ways for people to contribute! A very interesting library!

https://thinkingelixir.com/podcast-episodes/072-typecheck-with-wiebe-marten-wijnja/

Deploying an Elixir Release to Gigalixir

The last installment in the “Deploying Elixir” series is out:

https://blog.miguelcoba.com/deploying-an-elixir-release-to-gigalixir

Building a simple Calendly clone with Phoenix LiveView (pt. 1)

I have started a new tutorial series in which we will build a simple Calendly clone using Phoenix LiveView.

https://bigardone.dev/blog/2021/11/06/building-a-simple-calendly-clone-with-phoenix-live-view-pt-1

Here you can find the working demo: https://calendlex.herokuapp.com/

Happy coding!

Designing solutions with state machines in Elixir

In this post we are going to see how to design solutions with state machines in Elixir.

Phoenix Database Migrations with Elixir Releases

Understand how to run database migrations when using Elixir releases plus learn how to include additional functions to handle some other less common situations like seeding your database.

Elixir Trends: Blog Post

SmartLogic team member Rose Hammer Burt wrote up this excellent piece on Elixir Trends, noting several high level themes from the recent ElixirConf 2021. Check it out here: https://smartlogic.io/blog/elixir-trends-fall-2021

How to update Elixir dependencies?

What is the best way to manage and upgrade Elixir deps? https://k.lelonek.me/elixir-dependencies

Elixir Wizards Launchisode Out Today!

As we kick off our new, seventh season of the Elixir Wizards podcast, we wanted to introduce our theme of the Impact of Elixir by having a simple chat between our panel and foregoing our usual guest format. As fans of podcasts ourselves, we always like to get to know some of the personalities behind the voices, so we decided to take this opportunity to do just that, with Alex, Sundi, and Eric! So to hear a little about what to expect in the coming weeks of the show, what the teams have been up to recently, both professionally and beyond, and to just enjoy a quick hangout with some friendly voices, make sure you tune into this Launchisode! https://smartlogic.io/podcast/elixir-wizards/s7e1-launchisode/

Deploying an Elixir Release using Docker on Render.com

I’ll show you how to deploy your Elixir Release, using Docker, to render.com

https://blog.miguelcoba.com/deploying-an-elixir-release-using-docker-on-rendercom

Enabling PostgreSQL cron jobs on AWS RDS

A database cron job is a process for scheduling a procedure or command on your database to automate repetitive tasks. In our case, we needed to bulk delete a huge set of records, and cron jobs came in handy.

By default, cron jobs are disabled on PostgreSQL RDS instances, so to use them on our database we need to enable them on Amazon Web Services (AWS) RDS console. Here’s how:

https://coletiv.com/blog/enabling-postgreSQL-cron-jobs-on-AWS-RDS/

Authorization and Policy Scopes for Phoenix Apps

Find out how to implement quick and easy authorization for your Phoenix apps.

https://blog.appsignal.com/2021/11/02/authorization-and-policy-scopes-for-phoenix-apps.html

Previous page Next page