Skip to content

Gregoirevda/reason-graphql-todo-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository uses plain GraphQL, Reason and Apollo.

If you're looking for an easier way to use GraphQL, checkout the official reason-apollo bindings

Have something you don't understand? Join us on Discord!

Run this project:

npm install
npm run start:server
npm start # in a new tab

Once your express server is running with npm run start:server,
open a new tab and start the client with npm start this will run your client written in ReasonML. Then modify whichever .re file in src/simple/ and the page will reflect the changes automatically.

You can see and modify the graphQL schema, running in express in apollo-server/schema. (install nodemon to automatically restart the server)

The client is build using ReasonReact.
dataTodoContainer.re uses graphql from react-apollo to enhance ReasonML components with queries and mutations. todoContainer.re uses the query and mutations

If you're looking for a very simple/basic example: https://github.com/Gregoirevda/graphql-reason-simple-example

About

Integrating graphQL with reasonML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •