Building an app with Phoenix
Building a reddit clone using Phoenix, a web framework built on Elixir.
Installing Elixir, Node, and Phoenix
A quick steps and references for installing Elixir, Node, and Phoenix.
Getting Starting Phoenix
Getting started with Phoenix by creating an application with its default folders.
Creating the Database
Creating the database for our application with mix ecto.create.
We begin with Posts
We create our migration and model for our Readdit Posts.
Display a list of Posts
We build out the new and create endpoints allowing us to create Posts through the web.
Viewing a Post
We will create a show endpoint for viewing a single post.
Editing a Post
We will create an edit page and an update endpoint for Posts.
Deleting a Post
The last step of our CRUD adventure has us deleting a post