Skip to content

hengkyawijaya/basic-node-gql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BASIC NODE GQL

Objective

  • Learn graphql concept
  • Learn about Query, Mutation, Resolver and Subscription in graphql
  • Implement basic graphql with node js

Prerequisite

  • Docker already installed on your machine
  • Having knowledge about basic node js
  • Having knowledge about basic docker

How To Run

Backend

  1. Run mongodb server using docker
docker-compose -f mongo/docker-compose.yml up
  1. Open folder backend
  2. Install dependencies
yarn install
  1. Start development server
yarn dev
  1. Open link down below to access graphql playgroud
http://localhost:8001/graphql
  1. Experiment creating new Query, Mutation, Subscription, and Resolvers.

React-app

  1. Open folder react-app
yarn install
  1. Start the react apps
yarn start
  1. Open link down below to access react app from browser
http://localhost:3000

About

Basic implementation graphql server using node js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published