Skip to content

pusher-community/activity-feed-pusher-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

activity-feed-pusher-react

This application shows how to integrate Pusher with a Node.js/Express/MongoDB backend and React in the front-end.

You can follow the tutorial to build this application or jump straight to the code.

Getting Started

  1. Create an app on Pusher and copy your app's id, key, and secret.
  2. Clone this repository and cd into it.
  3. Start the MongoDB server
  4. Execute npm install to download dependencies.
  5. Execute PUSHER_APP_ID=XXXXXX PUSHER_APP_KEY=XXXXXX PUSHER_APP_SECRET=XXXXXX node server.js to set the environment variables needed by the app with your Pusher info and start it.
  6. Go to http://localhost:3000 and start sending playing with the app using Postman to communicate with the API or the Pusher console to test only the front-end part.

Prerequisites

Built With

  • Pusher - APIs to enable devs building realtime features
  • React - A JavaScript library for building user interfaces
  • Node.js - A JavaScript runtime
  • Express - Fast, unopinionated, minimalist web framework for Node.js
  • MongoDB - A NoSQL database

Acknowledgments

  • Thanks to Pusher for sponsoring this tutorial.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published