Angarsk8
Develop data driven SPAs with Elixir, Cowboy and React
Hi guys,
I’d like to share this small project with you, it’s an example application that shows how to use Elixir and Cowboy 1.1 in conjunction with React, Redux and Redux Saga to create data driven Single Page Applications. It is an enhanced Todo list web app that pretends to serve as an example to learn how to build web applications with Elixir (neither Phoenix nor Plug) and React. In this project you will find how to implement features such as:
Backend
- Anonymous authentication (encoding and signing user with JWT)
- RESTful JSON API (Cowboy REST handlers)
- Serve static files (Cowboy static handler)
- Authorization (decoding and verifying JWT)
- Data modeling and persistency (Ecto + PostgreSQL)
Frontend
- Component based SPA (React)
- Application state management (Redux)
- Async operations handling (Redux Saga)
Hope this is useful for you guys. Here is a deployed version of the app.
Popular in Discussions
This is more of a general question, but I’m wondering how other people in the community think about the pattern matching in function sign...
New
How We Replaced React with Phoenix
By: Thought Bot
New
The reason that Rails is as popular as it is is because it’s very easy for relatively inexperienced developers to get a lot of work done....
New
If a newbie asked you about Phoenix Contexts, how would you explain the basics to them?
Feel free to be as concise or in-depth as you li...
New
I think this twitter post and youtube video didn’t get as much attention as I hoped
I am still new to Elixir, so can’t really judge
...
New
I would like to spark a discussion about the static access operator: ..
For whom does not know: it is used in Elixir to access fields of...
New
So, is Heroku the only free option for hosting Phoenix/Elixir at this point? I’m not ready to commit to paying monthly and was wondering ...
New
How does the two languages compare when it comes to server side application development? Any experiences or ideas? Thank you.
New
Hello all, I am developing a new mobile app with Flutter frontend and Phoenix backend. The mobile app has real-time task management and c...
New
Since Drab has been developed for a while in the open, introducing the Liveview functionality in a way it happend appears to undermine th...
New
Other popular topics
If I have a post route which an argument:
post /my_post_route/:my_param1, MyController.my_post_handler
How would get the post params ...
New
Hello!
tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability.
After spen...
New
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
Hey all,
I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
New
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this:
...
New
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!)
This post collects co...
New
Hi there,
I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New








