Skip to content

Example app using the Phoenix Framework with React and GraphQL

Notifications You must be signed in to change notification settings

CodingZeal/phoenix-react-apollo-demo

Repository files navigation

TodoApp

Example app started with Zeal's React app generator and a Phoenix back end.

Absinthe is used for the GraphQL server with Apollo as the GraphQL client

Setup

  • Install elixir dependencies with mix deps.get
  • Install node dependencies with npm install
  • Create and migrate your database with mix ecto.setup

Development

  • Start Phoenix endpoint with mix phoenix.server
  • Start client dev server in another window with npm start

Now you can visit localhost:4000.

GraphiQL

Visit localhost:4000/graphiql.

License

Authored by the Engineering Team of Coding ZEAL

Copyright (c) 2017 Zeal, LLC. Licensed under the MIT license.