Skip to content

Latest commit

 

History

History

todo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Elixir + GraphQL + Relay TodoMVC Example App

$ mix deps.get
$ mix ecto.create && mix ecto.migrate
$ mix run priv/repo/seeds.exs
$ npm install
$ mix phoenix.server

Built with Facebook's Relay TodoMVC example as a base.

Troubleshooting

If you get the error:

** (Mix) The database for Todo.Repo couldn't be created, reason given: psql: FATAL:  role "postgres" does not exist

You need to either update config/dev.exs with valid PostgreSQL credentials or add a postgres user/role to your PostgreSQL installation by running createuser -s postgres from your CLI.