Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 636 Bytes

readme.md

File metadata and controls

10 lines (9 loc) · 636 Bytes

Intro

This is a full-stack implementation of a GraphQL server made using Apollo GraphQL.

How to use

  • Install all the dependencies on both the client and the server side.
  • Create a database in mongodb and put the url in app.js file in the suggested format.
  • Create env variables by the name MONGO_ATLAS_USER and MONGO_ATLAS_PW to store the username and password of your mongodb username and password respectively.
  • If you are using nodemon to run your server, you can create nodemon.json file in ./server directory with the env variables.
  • Run the server using nodemon server.js
  • Run the client using npm start