To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
POST /notification/subscribe POST /notification/send/all POST /notification/send/:push_token
- Run infra:
docker-compose up -d
- Database migrations
mix ecto.migrate
- Run server
mix phx.server
mix test ./test/**/*.ex
Build image
docker build -t app/expo-project .
Run container
docker run -p 4000:4000 app/expo-project
Docker composer command
docker-compose up
or
docker-compose up -d
- POST /notification/subscribe
- DELETE /notification/subscribe
- POST /notification/send/all
- POST /notification/send/:push_token
- gRPC impl
- Create flavors to dev and prod