pro-mern-stack

Code Listing for the book Pro MERN Stack
授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发、 常用JavaScript包
软件类型 开源软件
地区 不详
投 递 者 慕才
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Deprecation notice

This github repository, and also the book that it is meant to accompany, have now been superceded by the second edition of the book and a corresponding new repository: pro-mern-stack-2. The repository is no longer being maintained, but remains in GitHub as an archive.

This is the complete source code compilation of all code listings in the bookPro 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 thisrepository. For each section, you can browse the complete source, or look at the differences fromthe previous section/step using the appropriate link against each section, in this page.

Demo

There is no online demo, so if you want to take a peek into how the app will look like once it'sdone till the end of the book, you will need to do the following:

  1. Install Node.js (with npm) and MongoDB
  2. Clone this repository
  3. Run npm install in the project directory
  4. Run npm run compile, followed by npm run compile-server to generate the bundles
  5. Run npm start to start the server on port 3000
  6. (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.

Chapter 1: Introduction

There are no code listings in this chapter.

Errata / Issues relating to Chapter 2

Chapter 2: Hello World

Errata / Issues relating to Chapter 2

Chapter 3: React Components

Errata / Issues relating to Chapter 3

Chapter 4: React State

Errata / Issues relating to Chapter 4

Chapter 5: Express REST APIs

Errata / Issues relating to Chapter 5

Chapter 6: Using MongoDB

Errata / Issues relating to Chapter 6

Chapter 7: Modularization and Webpack

Errata / Issues relating to Chapter 7

Chapter 8: React Router

Errata / Issues relating to Chapter 8

Chapter 9: Forms

Errata / Issues relating to Chapter 9

Chapter 10: Bootstrap

Errata / Issues relating to Chapter 10

Chapter 11: Server Rendering

Errata / Issues relating to Chapter 11

Chapter 12: Advanced Features

Errata / Issues relating to Chapter 12

Chapter 13: Looking Ahead

There are no code listings in this chapter.

Errata / Issues relating to Chapter 13

 相关资料
  • 类似 Mean,是另一个全栈 Javascript 开发架构,使用 MongoDB,Express,React,Node。 特性 React 组件的热加载 模块化文件结构 使用 React 路由器进行代码拆分 Ava 测试运行(并行运行测试) 国际化支持 支持 Docker 支持代码生成 搭建自己的 MERN 下面是两个启动工具 MERN Starter git clone https://git

  • MERN-boilerplate This is a boilerplate project using the following technologies: React and React Router for the frontend Express and Mongoose for the backend Sass for styles (using the SCSS syntax) We

  • MERN CRUD A simple records system using MongoDB, Express.js, React.js, and Node.js with real-time Create, Read, Update, and Delete operations using Socket.io. REST API was implemented on the back-end.

  • MERN + Passport.js example MERN stack application that uses authentication Mongo, Express, React, Node (MERN) + Passport.js for managing authentication This project was bootstrapped with Create React

  • MERN Ecommerce Description An ecommerce store built with MERN stack, and utilizes third party API's. This ecommerce store enable three main different flows or implementations: Buyers browse the store

  • This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: yarn start Runs the app in the development mode. Open http://localhost:3000 to view it in