Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/arthurarakelyan/react-graphql-apollo-example
- Owner: ArthurArakelyan
- Created: 2024-03-05T20:35:00.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-05T20:48:04.000Z (10 months ago)
- Last Synced: 2024-04-24T05:35:31.863Z (8 months ago)
- Topics: apollo, graphql, react
- Language: TypeScript
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 buildyarn preview
```### Run GraphQL Server
```bash
yarn server
```## Tech Stack