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
Anybody know of a Pragmatic Studio 40% off coupon code for video course like Phoenix?
New
Hi!
In my quest of becoming the best Elixir dev I can be, I saw one aspect in my
career that I’d like to improve upon. This is language...
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
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
Preface: I’m not sure if thise is the right place, because this is not direclty Elixir related… but I’ve always got some of the best advi...
New
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
I was wondering if anyone is using some learning tools that they can recommend? I’ve been looking at two specifically so would also be ...
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
Hi Everyone,
I am a student and know basics of web development, used some php and ruby, but I am not an expert in any. I want to learn E...
New
Hey, I have very restricted resources and time so I’m trying to understand the best way to learn Liveview in terms of cost/time.
The Pra...
New
Other popular topics
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
Hello, I get Persian date from my client and convert it to normal calendar like this:
def jalali_string_to_miladi_english_number(persi...
New
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set?
Thanks.
New
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
What is most correct way to open, read and parse JSON file with poison?
For example if we have example.json file in root of some projec...
New
I have a User schema with a :from_id field set to type :string:
defmodule TweetBot.Repo.Migrations.CreateUsers do
use Ecto.Migration
...
New
I tried installing
elixir 1.11.2
erlang 23.3.4
via asdf in my zsh shell. Enabled the versions locally and globally.
When I list them ...
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
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









