Create a Phoenix Project

Learn how to create a simple Phoenix project.

LiveView meets all of the interactivity and real-time needs of your average single-page app while being easy to build and maintain. The first step toward developing LiveView applications is to install Phoenix, Erlang, Elixir, Node, and Postgres. Elixir is the language we’ll be using, and Erlang is the language it’s built on. Phoenix is the web framework, while Node supports the system JavaScript that LiveView uses, and PostgreSQL is the database our examples will use.

Note: Everything is already installed on the Educative platform.

Getting started with the Phoenix project

With all of our dependencies installed, we’re ready to start building the Pento app. We’ll begin by setting up a new Phoenix project.

Hit the run button in the following widget to start the terminal and then type the following commands.

Get hands-on with 1200+ tech skills courses.