Skip to content

A simple todo app built with React, Apollo GraphQL supscriptions & Hapi

License

Notifications You must be signed in to change notification settings

anhldbk/todo-graphql-react

Repository files navigation

Todo React

An example of a todo app built with React, Apollo GraphQL & Hapi.

Overview

This example is a simplified combination of GitHunt-React and GitHunt API. Through the code, you will know:

  • How to work with GraphQL in general, especially GraphQL subscriptions.
  • Use react-router for routing
  • Use react-notification-system for notifying messages

Please submit a pull request if you see anything that can be improved!

Running the app

1. Clone

git clone git@github.com:evolastech/todo-react.git
cd todo-react
npm install

# or if you use yarn (it works much faster than npm)
# yarn install

2. Run

Issue the command:

npm start

Open the app at http://localhost:3000, you'll see something like this screenshot:

Wanna play with Graphiql? It can be reached at: http://localhost:3000/graphiql

Directory structure

  • ./api: contains our API server's code
  • ./ui: our server-rendering frontend

About

A simple todo app built with React, Apollo GraphQL supscriptions & Hapi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published