Book Image

Elixir Cookbook

By : Paulo Pereira
Book Image

Elixir Cookbook

By: Paulo Pereira

Overview of this book

Table of Contents (16 chapters)
Elixir Cookbook
About the Author
About the Reviewers

Chapter 7. Cowboy and Phoenix

This chapter will cover the following recipes:

  • Cowboy

    • Setting up Cowboy

    • Serving static files

    • Implementing a websocket handler

  • Phoenix

    • Creating a Phoenix application

    • Defining routes

    • Creating a controller

    • Creating views and templates

    • Implementing topics

    • Protecting the Phoenix app with SSL