Skip to content

andymoggo/graphql-hello-world-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Hello World👋 Server

A simple graphql client-server project to understand how graphql works

I wrote a post explaining the process to help understand the project. Go have a look at it!

Install this project

Clone the project, move to the server folder and install the dependencies.

git clone https://github.com/reymon359/graphql-hello-world-server
cd graphql-hello-world-server/server
npm install

Run the project

In the server folder run the GraphQL server with the command:

node server.js

Then open the index.html file from the client folder in your browser to see the data fetched. At first you will see a Loading... title like this one:

loading fetch

And when the data is fetched it will change to Hello GraphQL world!👋

title fetched

About

A simple graphql client-server project to understand how graphql works

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.6%
  • HTML 16.4%