Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.