/rest-fullstack

A real world REST app using GraphQL

Primary LanguageJavaScriptMIT LicenseMIT

Rest Fullstack

How to consume multiple Rest endpoints, using GraphQL architecture and tooling in frontend? This repository brings a sample of how to solve without needing Redux or manage many states. Yes, this is possible using the apollo-link-rest.

This project is based and inspired on Restria and architecture of the Entria Fullstack, by Entria. I am very grateful for the collaboration and encouragement through open-source.

Getting started

# Clone the Repo
> git clone https://github.com/thiagoleitedev/rest-fullstack.git

# Enter your newly-cloned folder
> cd rest-fullstack

# Install dependencies
> yarn install

Top-Level commands

  • yarn start:server - run dev server
  • yarn start:web - run dev web

Features:

  • Authentication;
  • Dataloader;
  • Apollo Cache
  • Apollo Optimistic
  • Fragments

License

MIT license, Copyright (c) 2019