ExpressJS And Web Sockets: Streaming Tweets in Real-Time Without Any Problems

Written by tarique93102 | Published 2020/01/27
Tech Story Tags: javascript | socket | twitter | nodejs | express | web-development | websockets | programming

TLDR We would be using React as our client and Node with Express for our server. The magic of sending real-time messages is achieved through web sockets, especially on the web (as the name suggests) Web sockets is a network technology that enables two-way communication between a user’s browser and a server in real time. In order to stream the twitter data on the server-side, we would require two libraries in particular — Twit (handles streams and connections to Twitter) and Socket.io (helps create socket connection on the. server)via the TL;DR App

no story

Written by tarique93102 | JavaScript Enthusiast. Believes code can change the world.
Published by HackerNoon on 2020/01/27