This is the complete source code compilation of all code listings in the book Pro MERN Stack by Vasan Subramanian, published by Apress. The book can be purchased at any of these websites:
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.
There is no online demo, so if you want to take a peek into how the app will look like once it's done till the end of the book, you will need to do the following:
- Install Node.js (with npm) and MongoDB
- Clone this repository
- Run
npm install
in the project directory - Run
npm run compile
, followed bynpm run compile-server
to generate the bundles - Run
npm start
to start the server on port 3000 - (Optionally) Run
mongo scripts/init.mongo.js
to seed the database with some initial data
The above requires that you know, or able to find out how to install Node.js and MongoDB.