https://github.com/kleros/gtcr-notifications
Handler for GTCR contract events and notifications.
https://github.com/kleros/gtcr-notifications
backend curated-list curated-lists-v1 notifications
Last synced: about 2 months ago
JSON representation
Handler for GTCR contract events and notifications.
- Host: GitHub
- URL: https://github.com/kleros/gtcr-notifications
- Owner: kleros
- License: mit
- Created: 2019-12-05T16:14:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-12T12:15:40.000Z (11 months ago)
- Last Synced: 2025-03-22T16:51:06.035Z (2 months ago)
- Topics: backend, curated-list, curated-lists-v1, notifications
- Language: JavaScript
- Homepage:
- Size: 1.27 MB
- Stars: 0
- Watchers: 10
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
Generalized TCR NotificationsService and database for handling Generalized TCR contract events.
## Prerequisites
- Volta.sh - Recommended
- NodeJS version 14## Get Started
1. Clone this repo.
2. Duplicate `.env.example`, rename it to `.env` and fill in the environment variables.
3. Run `yarn` to install dependencies and then `yarn start` to run the service in development mode.### Production
1. Create a `.env` file with the name of the network you wish to use. Example `.env.xdai`.
2. Look into `package.json` for the appropriate script (e.g. start:xdai). Create one if it does not yet exist.
3. Use PM2 like so: `pm2 start yarn --interpreter bash --name gn- -- start:`, replacing `network` with the network name.Example for xDai:
`pm2 start yarn --interpreter bash --name gn-xdai -- start:xdai`## Other Scripts
- `yarn format` - Lint, fix and prettify all the project.
.js files with styled components and .js files.
- `yarn run cz` - Run commitizen.