Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gcascio/fcm-example
https://github.com/gcascio/fcm-example
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/gcascio/fcm-example
- Owner: gcascio
- Created: 2019-06-23T23:53:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T19:59:48.000Z (almost 2 years ago)
- Last Synced: 2024-05-29T22:46:58.160Z (5 months ago)
- Language: JavaScript
- Size: 2.24 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FCM Example
Before you run this example you have to:
- add your firebase service account details as `service_account.json` to the root of the server directory.
- add a `.env` file with your `MESSAGING_SENDER_ID` and your `PUBLIC_VAPID_KEY` to the root of the client directory.
- run `yarn install` or `npm install` in the client and server directoryTo run the example first build the client with `yarn build` and then start the server with `yarn start`.
You can reach the application under `http://localhost:5000`