Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 955 Bytes

File metadata and controls

31 lines (20 loc) · 955 Bytes

Simple GraphQL bitcoin price

Introduction

This project is intended to provide a gentle introduction to GraphQL API design.

The project uses the blockcian.info API to GET the current bitcoin prices and then serve them through a GraphQL Yoga server

How to run

  1. Clone this repository: git clone https://github.com/LuisAcerv/graphql-api-tutorial.git.

  2. Install the dependencies: yarn install or npm install.

  3. Run the app: npm start.

  4. Go to: http://localhost:4000

  5. Have fun!

How to get all available prices

In your http://localhost:4000

How to get a currency price

In your http://localhost:4000