https://github.com/codhek/react-hasura-boilerplate
https://github.com/codhek/react-hasura-boilerplate
apollo-client boilerplate hasura-graphql reactjs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codhek/react-hasura-boilerplate
- Owner: CodHeK
- Created: 2018-10-25T19:05:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T12:29:31.000Z (over 7 years ago)
- Last Synced: 2025-12-30T02:41:53.522Z (6 months ago)
- Topics: apollo-client, boilerplate, hasura-graphql, reactjs
- Language: JavaScript
- Size: 24.2 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React-Hasura-Boilerplate
This repo includes 3 folders containing boilerplate codes for quickly get to developing your app logic and not waste time setting up initial configurations.
- __hello-world__ :
This folder contains the basic configurations so that you can clone and start work with apollo-client already set up!
- __basic__ :
This folder contains examples of how query/mutation/subscription can be made. The examples are written with respect to a todo application.
#### Includes:
LogIn / SignUp setup.
Todo insert, delete and can mark todos complete.
- __advanced__ :
This folder is built on top of the `basic` application and includes an `Auth0` integration for user authentication.
#### Includes:
Authentication using Auth0.
Adding, deleting and marking todos complete.
## Getting Started
### Installing
Clone the repo first then `cd` into the folder you want to use as a boilerplate, install all the npm packages using
```
$ npm install
```
Once all the dependencies are installed, you're ready to go!
```
$ npm start
```
This starts the development server at port 3000 (localhost).