Ash Elixir

AE

Ash Elixir

Join the community to ask questions about Ash Elixir and get answers from other members.

Join

support

showcase

today-i-learned

AshCommanded: Declarative CQRS and ES patterns for Ash

Some people would call me slow...I would have to agree as it took me only a few decades to finally contribute back to the open-source community. This extension will let you declare commands, events, etc inside your resources and will generate the modules required for integration with the Commanded library at runtime for you. https://hexdocs.pm/ash_commanded/readme.html...

hapësirë - quote collection with a simple API

a quotes/sayings/proverbs collection with a simple API made with 💜, Ash, Plug and Slime - https://hapesire.kira.computer/ there is a personal coding challenge that i started randomly almost 4 years ago. the main point is to make a CLI utility that fetches random quotes and sayings from one API, formats them in an unsophisticated way: basic colors with ANSI codes and text wrapping by specific width. basically i've been making the same utility in different programming languages preserving the style and some key features however this API is really and i mean really old and has some problems like malformed json responses - apostrophes are escaped for some reason while double quotes are not. i haven't noticed the second issue in all these years until recently. how would you fix unescaped double quotes inside a string in some JSON? by reinventing the wheel with too much effort and pain... and fixing escaped apostrophes was not a problem for me a few weeks ago i was going to make the same utility in Gleam. i paused and thought for a moment on how i would tackle this issue with malformed JSON responses? by using XML or plaintext responses instead (again)? after a quick search for libraries, i got annoyed, frustrated and angry thinking of making such an API myself (there are no other good alternatives)...
No description

Our new book "Domain Modeling with Ash Framework" is out now!

Hey Ash folks! I'm excited to share that our new book Domain Modeling with Ash Framework is now live! 🎉 Grab it from https://devcarrots.com/ with a 20% special launch week discount (offer ends in 2 days)! This book is packed with 150+ practical, real-world tasks, walking you through how to build a full-featured project management app using Ash – models, relationships, migrations, queries, and more! People are loving the book so far! Here's what readers are saying:...

My proof of concept project (FleetMS) built with Ash

Not sure if it's fine to post here since its archived. I have been working on a personal project related to Fleet Maintenance and Management. Its a proof of concept, a learning thing, more like 40% complete. I have decided I will to rewrite it from scratch, it will be open source and will be building publicly. I hope from this I will learn a lot through collaboration, feedback e.t.c, and end up with something that can be used/adopted, or used as a reference for me and others and an awesome project I can put on my resume. In terms of licensing the only restriction I think I should put and is perhaps fair is preventing someone from taking the project and offering it as a SaaS(that's reserved for me), but they can sell it to individual clients. The end goal with regards to features is adding Fleet Telematics(companies love that very much), e.g third party integrations like Geotab, or streaming CAN Bus data from a vehicle with devices from CSSElectronics into the app, or build my own experimental vehicle tracking device, it could make a good IoT project using Nerves and all Elixir goodness 😀 . But first I need to get the "boring" stuff implemented first as you can see in the demo. So am asking from your thoughts on this. Here are credentials for the app(this won't running forever, I might turn it off on Tuesday😀 ), and please for the sake of accessibility don't use it on your phone 😅 link: https://fleetms.fly.dev email: [email protected]...

Tutorial: belongs_to in 2 minutes

I uploaded a video tutorial how to configure and use belongs_to. https://www.youtube.com/watch?v=lP8YtkXD3RE...

Ash Resource - 3 minute introduction

Learn how to setup an Ash resource with create, read, update and destroy. https://www.youtube.com/watch?v=tYCL0Rk12no...

[VIDEO] Early thoughts on using Ash Framework to produce a GraphQL API.

👨‍💻 In this video, I speak to some ideas about a future project and my current experiments around different technologies, specifically the Elixir Ash Framework, and using it to produce GraphQL endpoints. https://www.youtube.com/watch?v=ZeMuXWrRq80...
Next