Skip to content

moneychien19/react-todolist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

Fake Server

The fake graphQL server is build by json-graphql-server.

Start Server

  1. start server on port 4000
json-graphql-server graph/graph-server.json --p 4000
  1. check commands on http://localhost:4000, which is a GraphiQL GUI.

About json-graphql-server

When we put data in graph/graph-server.json, default resolvers are created by the package automatically.

For example, if we have type Todo, following are the resolvers provided by package.

  • query: Todo, allTodo
  • mutation (all columns are required): createTodo, createManyTodo, updateTodo, removeTodo

For more details, check GitHub repo of json-graphql-server package.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published