...

/

Create the Playground

Create the Playground

Learn to create an Elixir project, view its file structure, and run it.

We’ll create an application called sender and pretend to send emails to real email addresses. Later, we use the Task module to develop some of its functionality.

Project creation

First, let’s use the mix command-line tool to scaffold our new project:

mix new sender --sup

This creates a sender directory with a bunch of files and folders inside. Notice that ...