{"id":18245031,"url":"https://github.com/edgeapp/edge-rates-server","last_synced_at":"2025-10-03T15:03:13.036Z","repository":{"id":38247915,"uuid":"270848233","full_name":"EdgeApp/edge-rates-server","owner":"EdgeApp","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-12T00:07:53.000Z","size":928,"stargazers_count":1,"open_issues_count":14,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-12T07:10:20.784Z","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":null,"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}},"created_at":"2020-06-08T22:48:02.000Z","updated_at":"2024-04-15T11:59:13.791Z","dependencies_parsed_at":"2023-10-11T00:48:46.224Z","dependency_job_id":"4cae5869-f4ad-495e-8f64-91c767bbc07f","html_url":"https://github.com/EdgeApp/edge-rates-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-rates-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-rates-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-rates-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-rates-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdgeApp","download_url":"https://codeload.github.com/EdgeApp/edge-rates-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247909137,"owners_count":21016475,"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:39.251Z","updated_at":"2025-10-03T15:03:05.718Z","avatar_url":"https://github.com/EdgeApp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# edge-rates-server\n\n\u003e A REST API for retrieving and storing historical crypto and fiat exchange rates.\n\n#### Installation\n\nInstall Yarn\n\n    https://linuxize.com/post/how-to-install-yarn-on-ubuntu-18-04/\n\nInstall Node\n\n    curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh\n    sudo bash nodesource_setup.sh\n\nInstall and run CouchDB v3.1 (use apt install process for Ubuntu 18.04)\n\n    https://docs.couchdb.org/en/3.1.0/install/index.html\n\nInstall and start Redis\n\n    https://redis.io/docs/getting-started/installation/install-redis-on-linux/#install-on-ubuntu\n\n    redis-server\n\nInstall pm2 globally\n\n    npm install pm2 -g\n\nInstall pm2 log rotation (note: the command is pm2 instead of npm)\n\n    pm2 install pm2-logrotate\n\nRun Yarn\n\n    yarn \u0026\u0026 yarn prepare\n\n#### Running Source\n\n    yarn start\n    yarn startEngines\n\n#### Launch API server and rates engine for production\n\n    pm2 start pm2.json\n\n#### Restart, stop, delete service\n\nControl pm2\n\n    pm2 stop     \u003cratesServer|ratesEngine|'all'\u003e\n    pm2 restart  \u003cratesServer|ratesEngine|'all'\u003e\n    pm2 delete   \u003cratesServer|ratesEngine|'all'\u003e\n\nLaunch pm2 on restart\n\n    pm2 startup\n    pm2 save\n\n#### Monitor logs and status\n\n    pm2 monit\n    pm2 logs \u003cratesServer|ratesEngine|'all'\u003e\n\n### Terminate SSL using Caddy\n\nPlease see our [Caddy setup documentation](./docs/caddySetup.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-rates-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeapp%2Fedge-rates-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-rates-server/lists"}