Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hackafro/gatsby-blog
Blogging with gatsby with realtime comments using Pusher
https://github.com/hackafro/gatsby-blog
Last synced: 4 days ago
JSON representation
Blogging with gatsby with realtime comments using Pusher
- Host: GitHub
- URL: https://github.com/hackafro/gatsby-blog
- Owner: HackAfro
- License: mit
- Created: 2018-06-10T22:10:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T21:55:12.000Z (over 6 years ago)
- Last Synced: 2024-11-14T19:36:34.816Z (2 months ago)
- Language: JavaScript
- Size: 23.8 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gatsby-Blog
Realtime comments on gatsby blogs using Pusher
You can find the tutorial for this repo [here](https://pusher.com/tutorials/realtime-comments-gatsby-blog)
## Prerequisites
- [Gatsby](https://gatsbyjs.org/)
- [Express](https://expressjs.com/)
- [Pusher](https://pusher.com)
- A [Pusher account](https://pusher.com/signup) and [Pusher app credentials](http://dashboard.pusher.com/)## Getting started
- Clone the project and install dependencies:
- Create a file named `.env`. Update the `.env` file with the content below:```
PUSHER_APP_ID=app-id
PUSHER_APP_KEY=app-key
PUSHER_APP_SECRET=app-secret
```> **Note**: ensure to replace the placeholder values with your pusher `appId`, `key` and `secret`.
- Clone the repo
- Enter the project folder
- Run npm install
- Start server by running `node server`
- Run `yarn develop` or `npm run develop` to start the gatsby server## Built With
- [Gatsby](https://gatsbyjs.org/)
- [Pusher](https://pusher.com)
- [Express](https://expressjs.com/)