This is just a simple example of a small CRUD app using Elixir, Postgres and the Phoenix Framework.
Blog Post explaning the step by step can be found here
To start your new Phoenix application you have to:
- Install dependencies with
mix deps.get2a. Start Phoenix router withmix phoenix.server2b. You can also start Phoenix with interactive Elixir shelliex -S mix phoenix.server - Configure Database Settings to use your local postgres enviorment.
- Run the migrations
mix ecto.migrate PhoenixCrud.Repo - Enjoy.
Now you can visit localhost:4000 from your browser.
- Learn basic elixir.
- Exploring the language and framework to see if it's worth using as a backend for more robust applications.
- Provide more example apps using the Phoenix Framework.
- Have fun!
Please feel free to open any PRs or issues if you see things that could be improved or fixed.