Overview
Dive into a comprehensive tutorial on building a REST API using the Phoenix Framework and Elixir. Learn the fundamentals of Elixir Phoenix, explore the MVC pattern, and set up your development environment. Navigate through project structure, create repositories, and understand basic application architecture. Progress to adding new pages with mock data, creating APIs, and working with databases. Master essential operations like updating resources, deleting data, and handling user relationships. Discover how to implement nested data in API calls and retrieve user-specific posts. By the end of this crash course, gain a solid foundation in developing robust REST APIs with Phoenix Framework and Elixir.
Syllabus
- Intro
- What is Elixir Phoenix
- MVC Pattern
- Installation
- Project Structure
- Main files
- Other Folders
- Create a Repo
- Basic Application Architecture
- Adding a New Page with Mock Data
- Creating an API
- Working with the Database
- Routes
- Updating a Resource
- Delete
- Users and Relationships
- Update the Model
- Making the association in models
- Nested Data in API Calls
- Get a User’s Posts
- Conclusion
Taught by
Caleb Curry