To 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.serveror inside IEx withiex -S mix phx.server
Or you can use docker:
docker compose build
docker compose run --rm siwapp mix setup # execute only the first time
docker compose upNow you can visit localhost:4010 from your browser.
To create a new user you can use mix siwapp.register <your-email@domain.il> <your password> or
using docker docker compose run --rm siwapp mix siwapp.register <your-email@domain.il> <your password>.
Ready to run in production? Please check our deployment guides.
Siwapp has a graphQL API.
You can browse the api docs here.