An updated starter project for Stephen Grider's GraphQL + React Udemy course
This updated close uses the latest Apollo Client and React versions (all packages, included in the original project, have been updated to their latest possible versions).
note: the project was developed using the latest LTS version of node
(fermium
)
npm install
That's it! The rest of the setup follows the video course.
The main changes (where the original repo & this differ) are as follows:
- Updated libraries:
react-apollo
is no longer used. Related binds have been migrated directly into@apollo/client
react
,react-dom
now on the latest version- Development dependencies (ie.
babel
,webpack
.. etc) are now updated to latest possible versions.
- Babel configuration has been been moved to the
webpack.config.js
file (seebabel-loader
settings) - Fix deprecated APIs
express-graphql
's exportsbody-parser
json parsing is deprecated (functionality moved toexpress
)
Dockerfile
to install & run the
project--this is a WIP and requires some architectural changes