/todo_backend_phoenix_1_7

This is an example implementation of a ToDo backend using Phoenix framework, Ecto and Elixir

Primary LanguageElixirMIT LicenseMIT

Todo Backend Phoenix 1.7

This is an example implementation of a todo backend using Phoenix framework 1.7, Ecto 3.10 and Elixir 1.16.

Steps to project completion:

  1. implement ToDo API
  2. deploy backend
  3. adjust CORS headers
  4. have implementation listed

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Then run docker compose up -d to start a PostgreSQL service
  • And run mix ecto.migrate to apply migrations
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server
  • You can verify compliance with the ToDo backend API at https://todobackend.com/specs/index.html?http://localhost:4000/api/todos

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more