Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fargelus/martian-library
:alien: GraphQL introduction tutorial by Evil Martians team
https://github.com/fargelus/martian-library
docker graphql react ruby-on-rails websockets
Last synced: 21 days ago
JSON representation
:alien: GraphQL introduction tutorial by Evil Martians team
- Host: GitHub
- URL: https://github.com/fargelus/martian-library
- Owner: fargelus
- Created: 2020-04-25T10:28:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T18:35:09.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T17:11:33.131Z (over 1 year ago)
- Topics: docker, graphql, react, ruby-on-rails, websockets
- Language: Ruby
- Homepage:
- Size: 2.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Martian-library
![Pic](./public/martian_lib.png)## Description
GraphQL introduction tutorial from EvilMartians team.
Tutorial consist of three parts:
- [From zero to the first query](https://evilmartians.com/chronicles/graphql-on-rails-1-from-zero-to-the-first-query) — setting up a project, adding first queries to both back-end and front-end applications. :heavy_check_mark:
- [Updating the data](https://evilmartians.com/chronicles/graphql-on-rails-2-updating-the-data) — adding mutations. :heavy_check_mark:
- [On the way to perfection](https://evilmartians.com/chronicles/graphql-on-rails-3-on-the-way-to-perfection) — adding subscriptions, and some refactoring. :heavy_check_mark:### How to run
You need `docker` and `docker-compose` installed (for MacOS just use [official app](https://docs.docker.com/engine/installation/mac/)).
```sh
$ docker-compose up -d
$ docker-compose run app rails db:create db:migrate db:seed
$ docker-compose run app rails assets:precompile
```It builds the Docker images, installs Ruby and NodeJS dependencies, creates database, run migrations and seeds.