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

Chapter 8. Build a Chatbot with Facebook’s Messenger Platform

In this chapter, we will build a chatbot application with Facebook's Messenger platform using a completely different stack from what we were using so far in this book. For our view layer, we will swap React with Angular 2. To query data from the server, we will use a query language GraphQL, and in addition to MongoDB, we will add the Cassandra database. We won't be able to cover all of the preceding technologies in a great depth in one chapter, but certainly exploring other technologies can only benefit us as full-stack developers.

First, we can start from the frontend by creating a simple Meteor app with implementing Angular 2 as our view layer with all the necessary tooling that we need. We will use TypeScript instead of ES6, which is the recommended (by the Angular team) way of writing Angular 2 apps. TypeScript is a superset of JavaScript that at the end transpiles into a plain JavaScript. That said, it is completely fine to...