{"id":19794644,"url":"https://github.com/code-crash/coinmarketcap-node-totaljs","last_synced_at":"2026-06-08T18:32:13.924Z","repository":{"id":97043125,"uuid":"117245554","full_name":"Code-Crash/coinmarketcap-node-totaljs","owner":"Code-Crash","description":"This application is an example of Total.js for node-coinmarketcap API.","archived":false,"fork":false,"pushed_at":"2018-01-17T15:31:48.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T16:05:29.658Z","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/Code-Crash.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}},"created_at":"2018-01-12T13:42:10.000Z","updated_at":"2018-11-16T16:55:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d20741f-3e3d-4193-831b-1e26cfffbe5a","html_url":"https://github.com/Code-Crash/coinmarketcap-node-totaljs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Code-Crash/coinmarketcap-node-totaljs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fcoinmarketcap-node-totaljs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fcoinmarketcap-node-totaljs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fcoinmarketcap-node-totaljs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fcoinmarketcap-node-totaljs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Crash","download_url":"https://codeload.github.com/Code-Crash/coinmarketcap-node-totaljs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fcoinmarketcap-node-totaljs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12T07:13:47.128Z","updated_at":"2026-06-08T18:32:13.908Z","avatar_url":"https://github.com/Code-Crash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real Time application example in Total.js\n\n#### Description:\n\nImplementation of realtime data from ticker and share the data to diffrent apps using socket.\n\n#### Technology Stack:\n\n * [Node.js](https://nodejs.org/en/) (7.10.0)\n * [NPM](https://www.npmjs.com/) (5.5.1)\n * [Total.js](https://www.totaljs.com/)\n * [AngularJS](https://angularjs.org/)\n * [BootStrap 4 BETA](https://getbootstrap.com/docs/4.0/getting-started/introduction/)\n \nDatabase:\n\n  ```\n  Note: We can decide which datasource we need to use, right now we don't have any database integrated.\n  ```\n\n\n#### Requirements:\n\n * Should have NodeJS/NPM installed.\n\n#### Development Environment:\n\nI have made sure that the project behaves similarly on all the platforms.\nBut, I have used macOS Sierra system (10.12.6) and tested on Google Chrome(62.0.3202.89)\n\n#### Project Setup:\n\n##### Setup ticker app:\n\n* The ```ticker app``` is responsible for fetching and broadcasting the data through the socket.\n* To start the ```ticker app``` we need to follow the below steps.\n* ```IMP Note:``` Always run ticker first before running brower app\n\n```\n\n1. Open First Terminal and Follow Step\n\n$cd ticker/\n\n$npm install\n\n$npm start\n```\n* ``` npm start ``` will run the server once, and if we do any modification in ```ticker app code``` we need to run the server again to reflect the changes. So we can also run the server by ``` nodemon ``` by using the command as below.\n\n```\n$npm install -g nodemon \u003crun if you don't have nodemon\u003e\n$nodemon\n```\n* You can decide if you want to use ``` npm start ``` or ``` nodemon ```.\n* If everything is fine, you will see the ```ticker app``` is running on ```http://localhost:8000/```.\n\n\n##### Setup browser app:\n\n* The ```browser app``` is responsible for showing the coins information by using web socket with good UI/UX to the user and also it will provide the control over data to manipulation.\n* To start the ```browser app``` we need to follow the below steps.\n\n```\n1. Open Second Terminal and Follow Step.\n\n$cd browser/\n\n$npm install\n\n$npm start\n```\n\n* If everything is fine, you will see the ```browser app``` is running on ```http://localhost:9000/```.\n* In order to run the application, you need to run both the apps ```(ticker and broswer)``` simultaneously.\n\n\n#### How it works?\n\n* When the ```ticker app``` start, it fetch the coins information from API and share the data using socket.\n* The ```broswer app``` will fetch the data from socket and show on the Table.\n* ```ticker app``` Will Fetch the data again and again on 30 Seconds interval.\n\n#### Author:\n\n* Pravin Tiwari\n* Mail:  pravintiwari1992@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-crash%2Fcoinmarketcap-node-totaljs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-crash%2Fcoinmarketcap-node-totaljs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-crash%2Fcoinmarketcap-node-totaljs/lists"}