• Stars
    star
    272
  • Rank 151,235 (Top 3 %)
  • Language
    Elixir
  • Created over 8 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple project using Elm, Phoenix, GraphQL and PostgreSQL

Elm hipster stack!

  • Elm(version 0.18)
  • Phoenix(version 1.3)
  • GraphQL
  • PostgreSQL

About

This is a simple application where posts with a title and a body can be created and removed.

Running the app:

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 or yarn 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 run CREATE USER postgres SUPERUSER;
  • Create PostgreSQL database app_dev with Phoenix Ecto, run mix 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

Some of the used frameworks

Learn more