MERN quick start guide build web applications with MongoDB, Express.js, React, and Node
Build web applications with MongoDB, ExpressJS, React, and Node About This Book Build applications with the MERN stack Work with each component of the MERN stack Become confident with MERN and ready for more! Who This Book Is For The book is for JavaScript developers who want to get stated with the...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham ; Mumbai :
Packt
2018.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630679506719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Table of Contents
- Preface
- Chapter 1: Introduction to the MERN Stack
- Technical requirements
- Introduction
- The MVC architectural pattern
- Installing and configuring MongoDB
- Getting ready
- How to do it...
- There's more...
- Installing Node.js
- Getting ready
- How to do it...
- Installing npm packages
- Getting ready
- How to do it...
- How it works...
- Chapter 2: Building a Web server with ExpressJS
- Technical requirements
- Introduction
- Routing in ExpressJS
- Getting ready
- How to do it...
- Route methods
- Route handlers
- Chainable route methods
- There's more...
- Modular route handlers
- Getting ready
- How to do it...
- Writing middleware functions
- Getting ready
- How to do it...
- How it works...
- Writing configurable middleware functions
- Getting ready
- How to do it...
- Let's test it...
- There's more...
- Writing router-level middleware functions
- Getting ready
- How to do it...
- There's more...
- How it works...
- Writing error-handler middleware functions
- Getting ready
- How to do it...
- Using ExpressJS' built-in middleware function for serving static assets
- Getting ready
- How to do it...
- How it works...
- There's more...
- Parsing the HTTP request body
- Getting ready
- How to do it...
- How it works...
- Compressing HTTP responses
- Getting ready
- How to do it...
- How it works...
- Using an HTTP request logger
- Getting ready
- How to do it...
- Managing and creating virtual domains
- Getting ready
- How to do it...
- There's more...
- Securing an ExpressJS web application with Helmet
- Getting ready
- How to do it...
- How it works...
- Using template engines
- Getting ready
- How to do it...
- Debugging your ExpressJS web application.
- Getting ready
- How to do it...
- How it works...
- There's more...
- Chapter 3: Building a RESTful API
- Technical requirements
- Introduction
- CRUD operations using ExpressJS' route methods
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- CRUD operations with Mongoose
- Getting ready
- How to do it...
- See also
- Using Mongoose query builders
- Getting ready
- How to do it...
- See also
- Defining document instance methods
- Getting ready
- How to do it...
- There's more...
- See also
- Defining static model methods
- Getting ready
- How to do it...
- There's more...
- See also
- Writing middleware functions for Mongoose
- Getting ready
- How to do it...
- Document middleware functions
- Query middleware functions
- Model middleware functions
- There's more...
- See also
- Writing custom validators for Mongoose's schemas
- Getting ready
- How to do it...
- See also
- Building a RESTful API to manage users with ExpressJS and Mongoose
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- See also
- Chapter 4: Real-Time Communication with Socket.IO and ExpressJS
- Technical requirements
- Introduction
- Understanding Node.js events
- Getting ready
- How to do it...
- How it works...
- There's more...
- Understanding Socket.IO events
- The Socket.IO server events
- Socket.IO client events
- Getting ready
- How to do it...
- How it works...
- Working with Socket.IO namespaces
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- There's more...
- io.Manager
- Defining and joining Socket.IO rooms
- Getting ready
- How to do it...
- There's more...
- Writing middleware for Socket.IO
- Getting ready
- How to do it...
- Let's test it...
- Integrating Socket.IO with ExpressJS
- Getting ready
- How to do it.
- How it works...
- There's more...
- See also
- Using ExpressJS middleware in Socket.IO
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 5: Managing State with Redux
- Technical requirements
- Introduction
- Defining actions and action creators
- Getting ready
- How to do it...
- How it works...
- Defining reducer functions
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- Creating a Redux store
- Getting ready
- How to do it...
- Let's test it...
- There's more
- Binding action creators to the dispatch method
- Getting ready
- How to do it...
- Let's test it...
- Splitting and combining reducers
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- Writing Redux store enhancers
- Getting ready
- How to do it...
- How it works...
- Time traveling with Redux
- Getting ready
- How to do it...
- Let's test it...
- There's more
- Understanding Redux middleware
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- Dealing with asynchronous data flow
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- There's more...
- Chapter 6: Building Web Applications with React
- Technical requirements
- Introduction
- Understanding React elements and React components
- Getting ready
- How to do it...
- Let's test it...
- Composing components
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- There's more...
- Stateful components and life cycle methods
- Getting ready
- How to do it...
- Let's test it...
- Working with React.PureComponent
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- React event handlers
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- There's more...
- Conditional rendering of components.
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- Rendering lists with React
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- Working with forms and inputs in React
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- Understanding refs and how to use them
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- Understanding React portals
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- Catching errors with error boundary components
- Getting ready
- How to do it...
- Let's test it...
- Type checking properties with PropTypes
- Getting ready
- How to do it...
- Let's test it...
- How it works...
- There's more...
- Other Books You May Enjoy
- Index.