https://github.com/verdavaine/solidgraph
https://github.com/verdavaine/solidgraph
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/verdavaine/solidgraph
- Owner: verdavaine
- Created: 2022-04-11T09:48:43.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-30T15:14:45.000Z (over 2 years ago)
- Last Synced: 2024-11-02T18:41:23.463Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 106 KB
- Stars: 27
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-solid-js - Solid + Wundergraph - Build applications with SolidJs and WunderGraph (Resources / 🏃 Examples and Starter Kits)
README
# SolidGraph
SolidGraph lets you build applications with SolidJs and [WunderGraph](https://wundergraph.com/).
## What is Wundergraph ?
WunderGraph is the best Developer Experience to build Serverless APIs :
- Server-Side-Only Compile-Time GraphQL API Layer
- Auto-Generated TypeSafe Clients
- OpenID Connect-based Authentication with RBAC
- S3 integration for File Uploads## SolidGraph compostion
The SolidGraph library is composed of two files:
[hooks.ts](https://github.com/verdavaine/solidgraph/blob/master/src/lib/hooks.ts) and [provider.tsx](https://github.com/verdavaine/solidgraph/blob/master/src/lib/provider.tsx)## License
The SoliGraph library is under [MIT](https://choosealicense.com/licenses/mit/) license.
# Realtime chat example
This example demonstrates how SolidGraph lets you easily build a SolidJs application with Realtime subscription.
The code that might interest you the most can be found in [index.tsx](https://github.com/verdavaine/solidgraph/blob/master/src/pages/index.tsx)
## Features
Features:
- Authentication
- Authorization
- Realtime Updates
- Cross Tab Login/Logout
- typesafe generated Typescript Client## Prerequisites
Make sure you have docker compose installed. Alternatively, you can use any PostgreSQL database available on localhost.
## Getting Started
Install the dependencies and run the example:
```bash
yarn global add @wundergraph/wunderctl@latest
yarn
yarn dev
```## Cleanup
```bash
docker-compose rm -v -f
```# Questions ?
Read the [WunderGraph Docs](https://wundergraph.com/docs).