Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 29 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-05T05:08:08.000Z (about 4 years ago)
- Last Synced: 2023-03-05T08:23:52.802Z (over 1 year ago)
- Language: Ruby
- Homepage: https://stevenpetryk.com/blog/rails-graphql-typescript-stack/
- Size: 222 KB
- Stars: 7
- Watchers: 1
- 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