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:
- implement ToDo API
- deploy backend
- adjust CORS headers
- 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 withiex -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.
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix