Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rodzy/Vite-React-Apollo-boilerplate

⚛☄ A blazing fast React template for Apollo GraphQL client side bundled using Vite.
https://github.com/rodzy/Vite-React-Apollo-boilerplate

Last synced: 11 days ago
JSON representation

⚛☄ A blazing fast React template for Apollo GraphQL client side bundled using Vite.

Awesome Lists containing this project

README

        

# React + Vite Apollo template ⚛☄

A blazing fast React template for Apollo GraphQL client side bundled using Vite

## Getting started 🚀

This boilerplate uses the ultra fast bundleling and compiling of [Vite](https://github.com/vitejs/vite), I would recommend diving into Vite before starting using this.

Take notice that this template is using ``apollo-boost @apollo/react-hooks graphql`` to handle the Apollo client.

### Installation 🛠

1. On GitHub:
- For users 💡😉:
- Gladly GitHub added the Template option so just click the ``Use this template`` button.
- Drop a star if you think this is worthy.

- For contributors 💻🧠:
- Check the [Contribute Tab](https://github.com/rodzy/Vite-React-Apollo-boilerplate/).
- Fork the repo & clone ``https://github.com/rodzy/Vite-React-Apollo-boilerplate.git``.
- PR's are welcome.

2. On the development environment:
- ``cd vite-react-apollo-boilerplate``.
- On your terminal run: ``yarn install`` or ``npm install``.
- ``yarn dev`` or ``npm run dev`` to start the development server.
- Server must be listening on 1 second 👀.

## File structure 🧩

```
.
├── .github
| ├── contribute
| ├── ISSUES_TEMPLATES
| └── workflows
├── node_modules
├── src
| ├── components
| ├── data
| | ├── queries
| | ├── mutations
| | ├── subscriptions
| | └── global.config.js
| ├── styles
| ├── static
| ├── App.jsx
| └── main.jsx
├── .gitignore
├── index.html
├── LICENSE
├── README.md
├── package.json
├── vite.config.js
└── yarn-lock
```