https://github.com/katrotz/idle-chat
Simple chat interface using react relay
https://github.com/katrotz/idle-chat
graphql graphql-js lerna react relay
Last synced: 4 months ago
JSON representation
Simple chat interface using react relay
- Host: GitHub
- URL: https://github.com/katrotz/idle-chat
- Owner: katrotz
- Created: 2017-10-08T15:19:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-09T23:39:35.000Z (over 7 years ago)
- Last Synced: 2025-02-01T12:17:05.508Z (5 months ago)
- Topics: graphql, graphql-js, lerna, react, relay
- Language: JavaScript
- Size: 268 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IDLE CHAT
A relay based implementation of a "chat application"The repository contains two packages (client and server implementations)
The client is written using React + Relay + GraphQL JS.The backend is an express application that serves a graphQL endpoint.
### Install
The application is managed using [lerna](https://lernajs.io/).To install the dependencies of the entire repository
```lerna bootstrap```
### Run
Run the following command in the root of the package to start the application (both client and server)```lerna run start```
It will run the server that can be accessed via [localhost:8080](http://localhost:8080) and the client at [localhost:3000](http://localhost:3000)
The server exposes two main endpoints:1. `/graphql` that serves the graphql server
2. `/graphql/schema` that generates the schema json### Notes
Currently the server graphQL schema must be manually generated and copied into the client relay configuration in case the schema changes.