Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 952 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 952 Bytes

UserPreferences

Database

You can start a docker container for the database with the following command.

docker run --name some-postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -e POSTGRES_DB=gql_preferences_dev -p 5432:5432 -d postgres

GraphiQL

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.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more