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
Exadra37
1
Popular in Chat/Questions
https://e.planaria.network/stack.png
https://e.planaria.network
Build a NoSQL DB, Build a Relational SQL Database, Build a Graph Datab...
New
Hi everyone,
How can i retrieve the name from a structure like this?
%{"id" => "1570", "name" => "Croque Monsieur"}
My test loo...
New
In the attached screenshot (taken from an exercise in “Programming Elixir”) can be shown that BugReport is defined as a struct that, itse...
New
Anybody knows any tutorial on how to create a blog in Phoenix?
New
Question:
Can someone recommend me some good resources on learning performance for phoenix elixir applications and a design pattern I sh...
New
The title of this topic may sound silly at the first glance. But why I trying to ask you guys is how to go to the next level?
I am curre...
New
Background
Hello all! So after my controversial introduction with Learning Elixir, frst impressions ( plz don’t kill me ! ) - I saw a ton...
New
Hi all,
I am currently on this course
Half a way thru, and struggled a bit… sometimes I don’t even know what I am coding especially ...
New
GenStage and Flow resources?
I have been hearing about GenStage and Flow, a tool built upon it, for quite some time. I understand it allo...
New
I'm studying Phoenix Framework but I want to understand basics first. Which book/mooc explains better the Design of Network-based Softwar...
New
Other popular topics
Hello!
Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
As a follow up to my earlier question:
I have the code compiling and running but not getting a successful login from the rest server. ...
New
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this
"1000"
What is the ...
New
The Elixir Typespec docs show the following syntax for keyword lists in typespecs:
# ...
| [key: type] # keyword lis...
New
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: )
Hello all, this is ...
New
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum.
...
New








