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

Building the App


Let's start with creating and installing all the necessary packages.

In the Terminal, perform the following steps:

  1. Create the app using the following command:
>> meteor create twitter_redux
>> cd twitter_redux
>> npm install
  1. Install React and React DOM:
>> npm install react --save
>> npm install react-dom --save
  1. Install React Router:
>> npm install react-router --save
  1. Install Redux:
>> npm install redux --save
  1. Install React Redux:
>> npm install react-redux --save
  1. Install React Router Redux:
>> npm install react-router-redux --save
  1. Install Redux logger. It is very useful middleware for logging all actions and states to the browser's console:
>> npm install redux-logger --save
  1. Install Redux Thunk middleware-- middleware to support async actions:
>> npm install redux-thunk --save
  1. Install the sentiment module to perform sentiment analysis on tweets:
>> npm install sentiment --save
  1. Install recharts--a great set of chart components...