/apollo-client-graphql-boilerplate

A full-fledged Apollo Client boilerplate project with React.

Primary LanguageTypeScript

A full-fledged Apollo Client boilerplate project with React.

Screenshot

Screenshot

Feature requirements

  • Users can signup/signin/logout
  • Authenticated users can submit a post (post images posted to cloudinary)
  • Users can view lists of posts submited

Tech Stack

Here's a curated list of packages that you should be at least familiar with before starting your awesome project. However, the best way to see a complete list of the dependencies is to check package.json.

Core

Installation

client

  • git clone https://github.com/p8ul/apollo-client-graphql-boilerplate.git && cd apollo-client-graphql-boilerplate
  • yarn to install app dependencies
  • yarn start

Server

This code uses apollo client to consumes queries/mutation from apollo server code Available in this Server Repository

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

apollo-client-graphql-boilerplate