Contacts challenge!
- Create/Migrate database:
mix ecto.create
mix ecto.migrate
- Run server:
iex -S mix phx.server
You can access the swagger page at http://localhost:4000/ to test the endpoints.
To launch the release, run the following commands:
- Create database:
MIX_ENV=prod mix ecto.create
MIX_ENV=prod mix ecto.migrate
- Build release and launch:
MIX_ENV=prod mix release
PORT=4000 _build/prod/rel/contacts_sh/bin/contacts_sh start
You can access the swagger page at http://localhost:4000/ to test the endpoints.