This is a full-stack implementation of a GraphQL server made using Apollo GraphQL.
- Install all the dependencies on both the client and the server side.
- Create a database in mongodb and put the url in
app.jsfile in the suggested format. - Create env variables by the name
MONGO_ATLAS_USERandMONGO_ATLAS_PWto store the username and password of your mongodb username and password respectively. - If you are using
nodemonto run your server, you can createnodemon.jsonfile in./serverdirectory with the env variables. - Run the server using
nodemon server.js - Run the client using
npm start