/ProjectMgmtGQLAPIs

Project Mgmt GQL APIs. Developed for learning GraphQL, Express, MongoDB and Elastic Beanstalk.

Primary LanguageJavaScript

ProjectMgmtGQLAPIs

Project Mgmt GQL APIs. Developed for learning GraphQL, Express, MongoDB and Elastic Beanstalk.

Important

Learn GraphQL using express-graphql framework and MongoDB. Also deploy this app to Elastic-Beanstalk using Nodejs Platform.

Project Requirements

  • Make sure to add the machine IP in the MongoDB Atlas.

Initial Setup

  • Run nvm use command for setup and install the expected node version in the terminal.
  • Install the NPM packages using yarn install

Run Project Commands

  • Start the dev environment using yarn dev
  • Start the deployment environment using yarn start

Project Highlights

Project Reference

Global NPM Dependencies

NPX Dependencies

NPM Dependencies

Frontend

  • @apollo/client --> Using the ApolloProvider, ApolloClient and InMemoryCache and wrap the client app.
  • graphql -->
  • react-router-dom --> Implement separate page redirection
  • react-icons --> Use the font awesome icons

Backend

  • express --> Run the express server
  • graphql --> Implement the GraphQL API schema
  • express-graphql --> Implement GraphQL API using express server.
  • mongoose --> Access MongoDB
  • cors --> To handle cors related issue.
  • colors --> For using the colors

NPM Dev Dependencies

Backend

  • nodemon --> For Hot reload the sever based on the code changes.
  • dotenv --> To access environment variable in the project.

NVM Commands

  • use the node version setup in .nvmrc file. nvm use
  • install the node version nvm install <Version Number>
  • nvm help nvm -h