https://github.com/moeraorg/moera-fcm-relay
FCM relay for Moera mobile clients
https://github.com/moeraorg/moera-fcm-relay
decentralized fcm moera social-network
Last synced: 6 days ago
JSON representation
FCM relay for Moera mobile clients
- Host: GitHub
- URL: https://github.com/moeraorg/moera-fcm-relay
- Owner: MoeraOrg
- License: apache-2.0
- Created: 2024-02-20T00:47:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-26T02:33:05.000Z (over 1 year ago)
- Last Synced: 2025-04-06T19:55:32.215Z (about 1 year ago)
- Topics: decentralized, fcm, moera, social-network
- Language: TypeScript
- Homepage:
- Size: 1.03 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FCM Relay For Moera Mobile Clients
## Resources
* Live network: https://web.moera.org
* Read more about Moera at https://moera.org
* Bugs and feature requests: https://github.com/MoeraOrg/moera-issues/issues
## Installation instructions
1. As prerequisites, you need to have Node.js 18+ and PostgreSQL 9.6+
installed. In all major Linux distributions, you can install them from
the main package repository.
2. Create a PostgreSQL user `` with password `` and
an empty database `` owned by this user (see
[detailed instructions][1]).
3. Go to the project root.
4. Copy `.env` file to `.env.local` and fill database credentials in `DATABASE`
variable.
5. Put a correct `moera-client-android-firebase-account.json` file to etc/
subdirectory under the project root. It is the Firebase service account
private key that you need to download from the Firebase console.
5. By default, the server runs on port 8101. If you want it to run on a
different port, set the `PORT` variable in `.env.local` accordingly.
6. Run `yarn install` or `npm install`.
7. Run `yarn start` or `npm start`.
[1]: https://moera.org/administration/installation/create-db.html