User Tools

Site Tools


learnexa_graphql_api

This is an old revision of the document!


Learnexa GrapphQL API

Objective

1) Create new Ruby on Rails application

Ruby Verions 2.6.2
Rails verions 5.1.4

rails new learnexa_api -d mysql

2) Add GraphQL in gem file

gem 'graphql', '~>1.8.10'

bundle install

3) Add GraphQL to a Rails app

rails g graphql:install

bundle install

4) Start rails server Open localhost:3000/graphiql

learnexa_graphql_api.1555657155.txt.gz · Last modified: 2019/04/19 06:59 by 182.72.26.6