pusher-angular-realtime-feed

Stars
4

pusher-angular-realtime-feed

Building a realtime post feed with Angular 7 and Pusher channels. Tutorial is located at https://pusher.com/tutorials/live-feed-angular-7

Getting Started

This project consists of a client and server. You have to clone this repository before moving on git clone [email protected]:adelowo/pusher-angular-realtime-feed.git.

Client setup

  • Navigate to the client directory with cd client.
  • Install the dependencies with npm install.
  • Run the application with ng serve. You will need to
    update this file
    with your PUSHER_KEY.

Server setup

  • From the directory root, cd to server.
  • Install the server dependencies by running npm install.
  • Update the variable.env file with your credentials.
  • Run the application with node index.js

Prerequisites

  • Node >= 10
  • Angular's ng command line tool. You can install it via npm install -g @angular/cli

Built With