Nvim
Tutorial on how to create blog using Phoenix?
Anybody knows any tutorial on how to create a blog in Phoenix?
Most Liked
idi527
![]()
Depends on the complexity of the blog you want. Here’s a simple one:
$ mix phx.gen.html Accounts User users name:string
$ mix phx.gen.html Content Post posts title:string:unique body:text author_id:references:users
$ mix phx.gen.html Content Post.Comment comments body:text author_id:references:users post_id:references:posts
7
ElixirCasts
Forum Sponsor
This may help - I made a screencast talking about Phoenix Contexts and as part of that I build a simple blog (with comments).
3
phoebe
Have a look at https://alchemist.camp too, it walks you through different steps to create a basic CRM - it helped me a lot in understanding how to build many-to-many relationships and preloading (unified tagging episode)
2
Popular in Chat/Questions
I love the Phoenix and Elixir docs, but I always tend to learn faster when I watch a video of someone explaining things and then I implem...
New
Hi all,
I am a Fullstack JS developer for last 2 years. I need a good guide to learn elixer. Any suggestions please
New
Hey, I want to learn Elixir OTP and I wanted to know if there are any good resources that teach it. I found some web pages, but none of t...
New
I’m new to elixir. I did some coding in python and C. I want to learn elixir for starting my career in web development. I need suggestion...
New
Hi everyone,
How can i retrieve the name from a structure like this?
%{"id" => "1570", "name" => "Croque Monsieur"}
My test loo...
New
Background
Hello all! So after my controversial introduction with Learning Elixir, frst impressions ( plz don’t kill me ! ) - I saw a ton...
New
Long story short, I have a real world need to create a view for hooking up a shipping terminal to live data, but because of some early ar...
New
Besides Basic types - The Elixir programming language are there any other well recommended “elixir by example” style resources / books ? ...
New
I've been trying to start learning Elixir for a couple of weeks while I develop a tiny project I have on node.js, but every time I try to...
New
Background
I am trying to do the typical Ceaser cypher exercise in Elixir. The description of the exercise is as follows:
Create an impl...
New
Other popular topics
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
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
Hi everyone,
One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
What learn first? Rust or Elixir
Hi Elixir community!
I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
Hi!
In PHP: $SERVER['SERVERADDR'] - in Elixir?
Searched the docs for ip address and the web, no good results.
Thanks!
New
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine)
This is a plugin that adds support for Elixir to JetBrains IntelliJ...
New
Hi,
I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list....
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 record...
New
I had some trouble figuring out how to make many-to-many associations work. Once I got it working, I wrote a blog post. Because I'm a nov...
New
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something…
Haskell reminds me of Java, and e...
New







