Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arthurarakelyan/react-graphql-apollo-example

A simple To-Do list app created with React and Apollo to showcase the work with GraphQL.
https://github.com/arthurarakelyan/react-graphql-apollo-example

apollo graphql react

Last synced: about 1 month ago
JSON representation

A simple To-Do list app created with React and Apollo to showcase the work with GraphQL.

Awesome Lists containing this project

README

        

# React GraphQL Apollo Example

A simple To-Do list example created with React and Apollo.

The GraphQL server is made with [json-graphql-server](https://github.com/marmelab/json-graphql-server) library.

![image](https://github.com/ArthurArakelyan/react-graphql-apollo-example/assets/71519856/c06eb26d-2c63-428b-99fd-74fd00745374)

## Project setup

This project uses `yarn` as a package manager.

Node version: `18.7.1`

### Install Dependencies
```bash
yarn install
```

### Run Development Server

Open http://localhost:5173 with your browser to see the result.

```bash
yarn dev
```

### Build

```bash
yarn build
```

### Run Build Preview

Open http://localhost:4173 with your browser to see the result.

```bash
yarn build

yarn preview
```

### Run GraphQL Server

```bash
yarn server
```

## Tech Stack


TypeScript  
React  
Apollo Client