The source code for the official guide to build a complete Elixir application, with its own supervision tree, configuration, tests and more at: Elixir Docs
This repository translates the instructions from Chapter 1-6 of the official guide, You can browse any of the below commits to the position where that chapter ends:
- Chapter 1-3: Agent & GenServer Implementation
- Chapter 4: Supervisor & Applications Implementation
- Chapter 5: Dynamic Supervisors Implementation
- Chapter 6: ETS Implementation
Chapter 6-11 covers the new structure of the application that can be found at Elixir-Mix-Otp-Guide, the KV module changes following after each iteration of the chapter:
- Chapter 7: Managing Dependencies & Umbrella Project Structure
- Chapter 8: No Changes needed.
- Chapter 9: Writing Doctests, Patterns & with keyword
- Chapter 10: Distributed Tasks & Tags Implemented
- Chapter 11: Configurations & Releases Deployment
This repository can be found at: Elixir-Mix-Otp-Guide, It came to existence from Chapter 7 where we go from an application -> project structure built of various applications (KV and KVServer in our case).
- Chapter 7: Managing Dependencies & Umbrella Project Structure
- Chapter 8: Tasks & gen_tcp implementation
- Chapter 9: Writing Doctests, Patterns & with keyword
- Chapter 10: Distributed Tasks & Tags Implemented
- Chapter 11: Configurations & Releases Deployment
While working throughout the guide - there were multiple positions where the ideolog seemed overwhelming resulting to various logical bugs because of shorthand syntax mismatch. There is no repository available to cross-check your results either to fix your bugs. Hence - I thought it would be nice to have this as a reference guide to how you need to implement your project.