This project is a demonstration of a working todo backend application in Elixir Phoenix Framework. It also shows how you can containerize you Phoenix application using Docker. Using VSCode IDE you can remotely access your container. It implements JWT authentication and using Argon2 for password encryption. It also contains unit and api test cases using ExUnit.
You can download this project to get started quickly with the Phoenix Framework.
To start your Phoenix server:
- Install dependencies with
./mix deps.get
- Create and migrate your database with
./mix ecto.setup
- Start Phoenix endpoint with
docker-compose up
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
The app is also available on Heroku (https://fathomless-retreat-52535.herokuapp.com)
- Official website: http://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix
- run test with
docker-compose run --rm test
Please contact me if you have any questions.