Skip to content

Simple implementation of GraphQL application in Node.js using Apollo server and MongoDB database

Notifications You must be signed in to change notification settings

cheatsnake/graphql-nodejs-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL server in Node.js

Simple implementation of GraphQL application in Node.js using Apollo server and MongoDB database.

Usage

  1. Clone this repo
git clone https://github.com/cheatsnake/graphql-nodejs-server
  1. Go to the cloned folder
cd ./graphql-nodejs-server
  1. Install dependencies
npm ci
  1. Create .env file with connection URL for MongoDB:
MONGODB_URL=mongodb://localhost:27017/test
  1. Run the development server:
npm run dev
  1. Go to http://localhost:4000 for testing

About

Simple implementation of GraphQL application in Node.js using Apollo server and MongoDB database

Topics

Resources

Stars

Watchers

Forks