Skip to Content
Phoenix Web Development
book

Phoenix Web Development

by Brandon Richey
April 2018
Beginner to intermediate content levelBeginner to intermediate
406 pages
9h 33m
English
Packt Publishing
Content preview from Phoenix Web Development

Building an API and Deploying

In the last chapter, we focused on implementing OAuth logins through a few separate providers to give a concrete example of developing a social media login system. Here in our final chapter, we'll build out an API for our users to use to get Poll and Vote data out in JSON format. For the final portion of work, we'll talk about different deployment and production running strategies to take your application the last few steps across the finish line!

In this chapter, we'll cover:

  • Implementing an API in Phoenix
    • Building API-specific pipelines
    • Building API-specific controllers
    • Working with JSON views instead of HTML views
    • Setting up rules for error handling
    • Setting up plugs for API key authentication
  • Deploying ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Phoenix in Action

Phoenix in Action

Geoffrey Lessel
Real-Time Phoenix

Real-Time Phoenix

Stephen Bussey

Publisher Resources

ISBN: 9781787284197Supplemental Content