phoenix-react-apollo-demo
phoenix-react-apollo-demo copied to clipboard
Example app using the Phoenix Framework with React and GraphQL
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.