Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.88 KB

README.md

File metadata and controls

62 lines (42 loc) · 1.88 KB

Repository with homework/projects for the Elixir course from Aleksei Matiushkin (Thinknetica)

Homework 01

Homework 02

  • Write an echo module, which recieves :ping atom as a message and returns {:pong, node()} tuple.
  • Write unit tests.

Homework 04

The project is the implementation of tram finite state machine on pure Elixir language according the following diagram:

flowchart TD
  In_depot ---> |move| Moving
  Moving ---> |stop| In_depot
  Moving ---> |stop| Onboarding
  Onboarding ---> |move| Moving
  Moving ---> |block| Blocked
  Blocked ---> |block| Moving
  Moving ---> |stop| On_red_light_stop
  On_red_light_stop ---> |move| Moving
  Moving ---> |bang| On_accident
  On_accident ---> |doors| Rescue_passengers
  Rescue_passengers --->|doors| On_accident
  On_accident ---> |move| Moving
  Moving ---> |repair| On_service
  On_service ---> |move| In_depot

Homework 05

Create new Phoenix project.

Homework 06

Add Ecto many-to-many relation to Phoenix project.

Homework 07

Implement Lister protocol for converting any input to list.

Homework 08

Create new project Phoenix, Bumblebee, Nx and use LLM from Hugging Face for web chatbot. https://github.com/dmitry-sidorov/translatex

Homework 09

Add specs to tram FSM project. Make shure credo and dialyzer checks passed.

Homework 10

Wrap application to Docker container for release.