Skip to content

bashkimkasa/HelloWorldApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HelloWorldApp

This is s sample nodejs app to show the very basic functionality ("Hello World" message) for GraphQL

Minimum Prerequisites

  • npm
  • nodejs

Setup / Build

Download the app and go to the folder/directory where app.js file exist and run the following command:

npm install

Run

To run the app go to the folder/directory where app.js file exist and run the following command:

npm start

The server will start on port 8082.
Navigate to the GraphQL UI endpoint: http://localhost:8082/graphql

Usage and Examples

  1. Open your favorite browser and go to the GraphQL UI endpoint: http://localhost:8082/graphql

  2. Here is the example GraphQL query you can do from the above endpoint:

    query {
      message
    }
    

About

GraphQL HelloWorldApp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published