Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 736 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 736 Bytes

GraphQl Service with ExpressJS

This example explains you usage of GraphQl with ExpressJS services, later you can use the same setup with any other platform (Eg: Vue.js, AngularJS). mLabs is being used to store documents.

Architecture Diagram

graphql_server

Libs/Frameworks

  • ExpressJS
  • ExpressJS GraphQl
  • Mongoose

Installation guide

$ npm install
# Create a .env file on root with following secrets:
SECRET_KEY=YOUR_SUPER_SECRET_KEY_FOR_JWT

$ npm start
Kudos, you are all set with graphQl server.
Note: Default port is 3000 and end point is localhost:3000/graphql