/pro-mern-stack-2

Code listing for the book Pro MERN Stack, 2nd Edition

Primary LanguageJavaScript

Pro MERN Stack, 2nd Edition

This is the complete source code compilation of all code listings in the book Pro MERN Stack, (2nd Edition), published by Apress. The book can be purchased at any of these websites:

The 2nd Edition has the following new things as compared to the original, first edition:

  • It uses the latest React (React 16)
  • It uses the React Router (React Router 4)
  • It uses GraphQL rather than REST based APIs
  • It adopts an architecture that lets you run the API and UI on different servers
  • It includes deployment instructions on Heroku
  • It uses other latest technology such as JWT and CORS.
  • ... and many more improvements over the first edition.

Each section in the book ends with a working application, which corresponds to a branch in this repository. For each section, you can browse the complete source, or look at the differences from the previous section/step using the appropriate link against each section, in this page.

Reporting Issues

There is no discussion forum for this book, so if you do find any problems running the code, or even in the text of the book, do create New Issue in this github project. I or some other reader may help you resolve the issue.

Chapter 1: Introduction

There are no code listings in this chapter.

Chapter 2: Hello World

Chapter 3: React Classes

Chapter 4: React State

Chapter 5: Express and GraphQL

Chapter 6: MongoDB

Chapter 7: Architecture and ESLint

Chapter 8: Modularization and Webpack

Chapter 9: React Router

Chapter 10: Forms

Chapter 11: React Bootstrap

Chapter 12: Server Rendering

Chapter 13: Advanced Features

Chapter 14: Authentication

Chapter 15: Deployment

Chapter 16: Looking Ahead

There are no code listings in this chapter.