https://github.com/streamr-dev/stream-metrics-index
https://github.com/streamr-dev/stream-metrics-index
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/streamr-dev/stream-metrics-index
- Owner: streamr-dev
- Created: 2022-12-22T12:56:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-21T11:35:24.000Z (about 1 year ago)
- Last Synced: 2025-03-16T03:45:44.626Z (12 months ago)
- Language: TypeScript
- Size: 780 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stream-metrics-index
## Start
Create a config file (see `config/development.json`)
Initialize database (see `initialize-database.sql`)
```
npm run build
chmod +x dist/bin/*.js
```
Start both applications:
```
./dist/bin/api.js CONFIG-FILE
```
```
./dist/bin/crawler.js CONFIG-FILE
```
The GraphQL endpoint is available e.g. at .
## Test
Start dependencies:
```
streamr-docker-dev start mysql dev-chain-fast deploy-network-subgraphs-fastchain
```
```
npm run test
```
## API
The API reference is available at the GraphQL endpoint (see "Docs" in the upper right corner).