https://github.com/stevenpetryk/graphql-typescript-example
An example Rails application with GraphQL, TypeScript, Apollo, and cross-platform typing
https://github.com/stevenpetryk/graphql-typescript-example
Last synced: 3 months ago
JSON representation
An example Rails application with GraphQL, TypeScript, Apollo, and cross-platform typing
- Host: GitHub
- URL: https://github.com/stevenpetryk/graphql-typescript-example
- Owner: stevenpetryk
- Created: 2020-04-12T20:44:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-05T05:08:08.000Z (over 4 years ago)
- Last Synced: 2025-03-28T01:03:28.798Z (3 months ago)
- Language: Ruby
- Homepage: https://stevenpetryk.com/blog/rails-graphql-typescript-stack/
- Size: 222 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails, GraphQL, and TypeScript: a monolith worth trying
This is the example Rails repository to go along with my blog post, [Rails, GraphQL, and TypeScript: a monolith worth trying](https://stevenpetryk.com/blog/rails-graphql-typescript-stack/).
## Setup
Use Ruby 2.7. Install dependencies like this:
```bash
bin/setup
```## Usage
Start the Rails server:
```bash
rails s
```Optionally, start a separate webpack dev server (for faster compilation):
```bash
bin/webpack-dev-server
```Then visit some pages:
- http://localhost:3000/
- http://localhost:3000/graphiql