Skip to content

Simple project using Elm, Phoenix, GraphQL and PostgreSQL

Notifications You must be signed in to change notification settings

carleryd/elm-hipster-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple project using Elm, Phoenix, GraphQL and PostgreSQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published