{"id":13990058,"url":"https://github.com/SocketCluster/sc-crud-sample","last_synced_at":"2025-07-22T11:32:40.219Z","repository":{"id":33705213,"uuid":"37358405","full_name":"SocketCluster/sc-crud-sample","owner":"SocketCluster","description":"Sample real-time CRUD inventory tracking app built with SocketCluster","archived":false,"fork":false,"pushed_at":"2018-10-04T21:14:51.000Z","size":424,"stargazers_count":324,"open_issues_count":2,"forks_count":27,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-27T12:43:06.127Z","etag":null,"topics":["crud","polymer","real-time","realtime","rest","rethinkdb","socketcluster"],"latest_commit_sha":null,"homepage":"","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/SocketCluster.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}},"created_at":"2015-06-13T04:55:11.000Z","updated_at":"2024-08-27T16:16:05.000Z","dependencies_parsed_at":"2022-09-24T06:23:00.916Z","dependency_job_id":null,"html_url":"https://github.com/SocketCluster/sc-crud-sample","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/SocketCluster%2Fsc-crud-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SocketCluster%2Fsc-crud-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SocketCluster%2Fsc-crud-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SocketCluster%2Fsc-crud-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SocketCluster","download_url":"https://codeload.github.com/SocketCluster/sc-crud-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227089502,"owners_count":17729476,"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":["crud","polymer","real-time","realtime","rest","rethinkdb","socketcluster"],"created_at":"2024-08-09T13:02:19.295Z","updated_at":"2024-11-29T09:30:43.680Z","avatar_url":"https://github.com/SocketCluster.png","language":"JavaScript","readme":"# sc-crud-sample\n\nScroll to the bottom for installation instructions.\n\nA sample inventory tracking realtime single page app built with SocketCluster (http://socketcluster.io/), VueJS and RethinkDB.\nIt demonstrates a way of building realtime apps.\n\nAll code for the server-side worker logic is linked from worker.js - It's mostly generic so feel free to reuse/modify for your own app\nor you can use this app as a base to build yours if starting from scratch.\n\nAside from SocketCluster, VueJS and RethinkDB, this sample app uses the following modules:\n- sc-collection (https://github.com/SocketCluster/sc-collection - ```npm install sc-collection```)\n- sc-model (https://github.com/SocketCluster/sc-model - ```npm install sc-model```)\n- sc-crud-rethink (https://github.com/SocketCluster/sc-crud-rethink - ```npm install sc-crud-rethink```)\n\nThis sample app aims to demonstrate all the cutting edge features that one might want when\nbuilding a realtime single page app including:\n\n- Authentication (via JWT tokens)\n- Access control using backend middleware\n- Reactive data binding\n- Realtime REST-like interface\n- Pagination with realtime updates\n\nKeep in mind that this app is optimized for cutting-edgeness, not for backwards\ncompatibility with older browsers.\n\nTo make the most of this demo, you should open the web app in two different tabs/windows/browsers and\nmake updates to the data in realtime.\n\n\n## Installation\n\nTo setup and run this sample:\n\n- Make sure you have Git installed (https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)\n- Make sure you have Node.js installed (http://nodejs.org/)\n- Make sure you have RethinkDB installed (https://www.rethinkdb.com/)\n- Run ```git clone https://github.com/SocketCluster/sc-crud-sample.git```\n- Run ```cd sc-crud-sample``` (to navigate to the sc-crud-sample/ directory)\n- Run ```npm install``` (to install back end modules)\n- Run ```cd public \u0026\u0026 npm install \u0026\u0026 cd ..``` (to install front end modules inside the public/ directory)\n- In a different terminal (or in the background), run ```sudo rethinkdb``` (make sure RethinkDB stays running)\n- Run ```node server``` (to launch the server)\n- In your browser, go to ```http://localhost:8000/```\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSocketCluster%2Fsc-crud-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSocketCluster%2Fsc-crud-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSocketCluster%2Fsc-crud-sample/lists"}