{"id":18245028,"url":"https://github.com/edgeapp/edge-reports-server","last_synced_at":"2025-07-07T07:33:40.746Z","repository":{"id":37055370,"uuid":"246426770","full_name":"EdgeApp/edge-reports-server","owner":"EdgeApp","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-03T02:03:08.000Z","size":1525,"stargazers_count":2,"open_issues_count":12,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-03T03:20:07.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EdgeApp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-10T23:05:06.000Z","updated_at":"2025-05-29T19:06:32.000Z","dependencies_parsed_at":"2024-02-12T09:02:00.567Z","dependency_job_id":"b28de3cc-072a-4e04-a8a0-d3f08200f571","html_url":"https://github.com/EdgeApp/edge-reports-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EdgeApp/edge-reports-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-reports-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-reports-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-reports-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-reports-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdgeApp","download_url":"https://codeload.github.com/EdgeApp/edge-reports-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-reports-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264034845,"owners_count":23547288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T09:18:37.823Z","updated_at":"2025-07-07T07:33:40.699Z","avatar_url":"https://github.com/EdgeApp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# edge-reports-server\n\n\u003e Reporting tools and GUI for partner revenue share\n\n## Installation\n\n```sh\n# Install Yarn\n\n    https://linuxize.com/post/how-to-install-yarn-on-ubuntu-18-04/\n\n# Install Node\n\n    curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh\n    sudo bash nodesource_setup.sh\n\n# Run Yarn\n\n    yarn\n\n# Install CouchDB v3.1\n\n    sudo apt-get install -y apt-transport-https gnupg ca-certificates\n    echo \"deb https://apache.bintray.com/couchdb-deb bionic main\" \\\n    | sudo tee -a /etc/apt/sources.list.d/couchdb.list\n\n    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8756C4F765C9AC3CB6B85D62379CE192D401AB61\n    sudo apt update\n    sudo apt-get install couchdb=3.1.0~bionic\n    # install standalone\n    # bind address = 127.0.0.1\n\n    # Test that couch is running\n    curl http://localhost:5984/\n```\n\n## Reporting Server\n\nTo launch the reports server, just type `yarn start`.\n\nYou can also build the server code by running `yarn build`, which puts its output in the `lib` folder. You can then use `forever-service` or similar tools to install the software on your server machine.\n\n```sh\n\n# install forever-service:\nsudo npm i -global forever\nsudo npm i -global forever-service\n\n# install:\ncd edge-reports-server\nsudo forever-service install reportsQuery --script lib/indexEngine.js --start\nsudo forever-service install reportsRates --script lib/indexRatesEngine.js --start\nsudo forever-service install reportsApi --script lib/indexApi.js --start\n\n# manage:\nsudo service reportsQuery restart\nsudo service reportsQuery stop\nsudo service reportsRates restart\nsudo service reportsRates stop\nsudo service reportsApi restart\nsudo service reportsApi stop\n\n# uninstall:\nsudo forever-service delete reportsQuery\nsudo forever-service delete reportsRates\nsudo forever-service delete reportsApi\n```\n\n## Demo app\n\nRun `yarn demo` to launch the demo app in your web browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-reports-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeapp%2Fedge-reports-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-reports-server/lists"}