Giter Club home page Giter Club logo

ms12-28-gql's Introduction

MS12-28-GQL

Section 28 - Working with GraphQL

0. Frontend

  • modified MS12-25-Rest to use GraphQL

1. Run

  • npm start for React client (port 3000)
  • npm start for Node.js server (port 4000)
  • Uses dotenv package for environment variables in .env file
  • Uses fetch and POST requests to localhost:4000/graphql

2. Database

  • Uses udemy database on MongoDB Atlas
    • collections: ms1225posts, ms1225users

3. Backend NPM Packages

  • apollo-server-express: ^2.4.8
  • bcryptjs: ^2.4.3
  • cors: ^2.8.5
  • dotenv: ^6.2.0
  • express: ^4.16.4
  • graphql: ^14.2.1
  • jsonwebtoken: ^8.5.1
  • mongodb: ^3.2.3
  • mongoose: ^5.5.6
  • multer: ^1.4.1
  • validator: ^10.11.0

Note: Changes made by this app will cause image files in MS12-25-Rest/server/images to be out of sync.

ms12-28-gql's People

Contributors

chilin89117 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.