{"id":26742487,"url":"https://github.com/lab49/crypto-dash-react-india","last_synced_at":"2026-03-10T07:02:20.399Z","repository":{"id":103469760,"uuid":"426269431","full_name":"lab49/crypto-dash-react-india","owner":"lab49","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-10T17:12:48.000Z","size":1016,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-14T17:49:17.531Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lab49.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-11-09T14:51:12.000Z","updated_at":"2022-04-25T18:09:03.000Z","dependencies_parsed_at":"2024-01-21T21:01:56.908Z","dependency_job_id":null,"html_url":"https://github.com/lab49/crypto-dash-react-india","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lab49/crypto-dash-react-india","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab49%2Fcrypto-dash-react-india","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab49%2Fcrypto-dash-react-india/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab49%2Fcrypto-dash-react-india/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab49%2Fcrypto-dash-react-india/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab49","download_url":"https://codeload.github.com/lab49/crypto-dash-react-india/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab49%2Fcrypto-dash-react-india/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264962585,"owners_count":23689842,"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":"2025-03-28T06:18:19.145Z","updated_at":"2026-03-10T07:02:20.093Z","avatar_url":"https://github.com/lab49.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crypto-dashboard-ui-\ncrypto-dashboard-ui \n\n\nCrypto currency app, we can build screen like -   \n\n\n\t\nName of the currency\n\t\n Its price - we will do streaming for price not static one.\n\t\nMovement from yesterday - Dynamic as price is moving.\n\t\nGraph showing that currency's performance over time -  We need Api that provide this data\n\t\nBuy Button\n\t\nLast list of confirmed trades. Blotter that showing real time status of trade lifecycle. We can mock this.\n\n\n# Getting Started\n\nFirst, install all the dependencies and then run the development server:\n\n```bash\nnpm i\nnpm run dev\n```\n\nOpen [http://localhost:3000/](http://localhost:3000/) in the web browser to see the result\n\n# Openfin Integaration\n\nInstall openfin-cli\n```bash\nnpm install -g openfin-cli\n```\n\nDocs:\n\n* Openfin cli: https://developers.openfin.co/of-docs/docs/openfin-cli-tool\n* Openfin JS API Doc: https://cdn.openfin.co/docs/javascript/stable/index.html\n* Openfin Docs: https://developers.openfin.co/of-docs/docs/what-is-openfin\n* Openfin Notification: https://developers.openfin.co/of-docs/docs/overview-notifications\n\nTo launch an application via command line use below command:\n```bash\nopenfin --launch --url http://localhost:3000\n```\n\nnpm script to run the application\n```bash\nnpm run openfin\n```\n\n\n----\n\n## How to use local mock APIs\n\n1. APIMocker is used to mock APIs. API response is served as a static file stored. \n2. Static files are present at location apiMocker/mocks.json. \n3. First install api mocker using below npm command\n```\nsudo npm install -g apimocker\n```\n4. Change location of mock files at apiMocker/config.json line number 3 like this -\n```\n   \"mockDirectory\": \"~/project/ReactConf/crypto-dashboard-ui/apiMocker/mocks\",\n```\n5. Run api mocker - make sure path to apiMocker is correct.\n\n```\ncd \u003ccrypto-dashboard-ui\u003e\nnode /usr/local/lib/node_modules/apimocker/bin/apimocker -c ./apiMocker/config.json\n```\nExpected console logs like \n```\ncrypto-dashboard-ui % node /usr/local/lib/node_modules/apimocker/bin/apimocker -c ./apiMocker/config.json\n[apimocker] Loading config file: /Users/amandeeprehal/project/ReactConf/crypto-dashboard-ui/apiMocker/config.json\n[apimocker] Set route: GET assets : allCurrencies.json 5 ms\n[apimocker] Set route: GET assets/:currencyName/ : \u003cno mockFile\u003e 20 ms\n[apimocker]  with switch on param: currencyName\n[apimocker] Set route: GET assets/:currencyName/history : \u003cno mockFile\u003e 20 ms\n[apimocker]  with switch on param: currencyName\n[apimocker] Mock server listening on port 7878\n\n```\n\n6. Comment coincap api and uncomment local api in file config.js - \n```\n\n COINCAP_URL: 'https://api.coincap.io/v2'\n //COINCAP_URL: 'http://localhost:7878'\n\n```\n6. Finally run \n```\nnpm run dev\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab49%2Fcrypto-dash-react-india","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab49%2Fcrypto-dash-react-india","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab49%2Fcrypto-dash-react-india/lists"}