- Upvote/Downvote.
- User authentication.
- Note ownership.
- Last updated notes first.
First setup your database config, you can pull an postgres image on dockerhub and run on the console:
docker run --name monkeynote-db -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 postgres
Then start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
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