Book Image

Build Applications with Meteor

Book Image

Build Applications with Meteor

Overview of this book

This book starts with the basic installation and overview of the main components in Meteor. You’ll get hands-on multiple versatile applications covering a wide range of topics from adding a front-end views with the hottest rendering technology React to implementing a microservices oriented architecture.All the code is written with ES6/7 which is the latest significantly improved JavaScript language. We’ll also look at real-time data streaming, server to server data exchange, responsive styles on the front-end, full-text search functionality, and integration of many third-party libraries and APIs using npm. By the end of the book, you’ll have the skills to quickly prototype and even launch your next app idea in a matter of days.
Table of Contents (16 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
8
Build a Chatbot with Facebook’s Messenger Platform

Summary


In this chapter, we built a simple CRUD implementation of a shopping cart application. On the frontend, we started building the application with a very basic one-page implementation and, through refactoring, we implemented client-side routing with the react-router module. We continued exploring the data patterns of React and its implementation with Meteor's reactive container.

On the server with the second refactoring, we moved the client side of the data modifications to the server with the implementation of the Meteor Methods. We also got familiar with the common pitfalls of the schema-less architecture of MongoDB, and we learned the basics of type checks on incoming documents and validations against predefined schemas.