April 2024
Beginner to intermediate
224 pages
5h 7m
English
Phoenix isn’t an all-in-one web framework, but it does more than just HTTP requests. This chapter focuses on controllers, views, and components because those are the foundations, but there’s even more that you can do with Phoenix.
We’ll briefly touch on a few different major features that Phoenix offers: authentication, Phoenix Channels, and LiveView.
There’s a good chance your application will need to support registering users, logging in, logging out, and restricting access to routes. Phoenix solves this by offering a generator[84] that adds authentication code to your application.
All you have to do is type mix phx.gen.auth Accounts User users to create the user system inside of the ...
Read now
Unlock full access