- Elm(version 0.18)
- Phoenix(version 1.3)
- GraphQL
- PostgreSQL
This is a simple application where posts with a title and a body can be created and removed.
Apart from cloning the repository, you will have to install any missing tools such as npm, mix, PostgreSQL, etc.
To start the app run the following:
- Install Mix dependencies with
mix deps.get
- Install Node packages. Go to assets and run
npm install
oryarn install
- Install Elm packages. Go to assets/elm and run
elm package install
, then go back to project root. - Run PostgreSQL in the terminal with
psql
and runCREATE USER postgres SUPERUSER;
- Create PostgreSQL database
app_dev
with Phoenix Ecto, runmix ecto.create
- Create required tables
mix ecto.migrate
- Optionally populate tables with
mix run priv/repo/seeds.exs
- Start Phoenix endpoint with
mix phx.server
App is now running on localhost:4000
Explore the GraphQL database using its graphical interface at localhost:4000/graphiql
- http://elm-lang.org/
- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: http://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix