{"id":20193567,"url":"https://github.com/rocicorp/todo-wc","last_synced_at":"2025-04-10T09:54:22.930Z","repository":{"id":106827188,"uuid":"569363268","full_name":"rocicorp/todo-wc","owner":"rocicorp","description":"Todo Web Component Example for Replicache","archived":false,"fork":false,"pushed_at":"2024-07-23T19:37:56.000Z","size":1356,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-24T08:48:04.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://todo-wc.onrender.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rocicorp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-11-22T16:52:44.000Z","updated_at":"2025-03-16T21:58:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d37aaa86-db6e-4e6b-9e75-5cce3a7b119f","html_url":"https://github.com/rocicorp/todo-wc","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/rocicorp%2Ftodo-wc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocicorp%2Ftodo-wc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocicorp%2Ftodo-wc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocicorp%2Ftodo-wc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocicorp","download_url":"https://codeload.github.com/rocicorp/todo-wc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248198734,"owners_count":21063626,"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-14T04:01:36.958Z","updated_at":"2025-04-10T09:54:22.904Z","avatar_url":"https://github.com/rocicorp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Replicache logo](https://uploads-ssl.webflow.com/623a2f46e064937599256c2d/6269e72c61073c3d561a5015_Lockup%20v2.svg)\n\n# todo-wc\n\nThis repository contains sample code for [Replicache](https://replicache.dev/). The example uses web-components with a common express server backend. The backend utilizes Express and demonstrates implementations of `push`, `pull`, `poke`, `createSpace`, and `spaceExists` handlers. These are required for the Replicache sync protocol. This library intends to help developers easily experiment with Replicache.\n\n## 1. Setup\n\n#### Get your Replicache License Key\n\n```bash\n$ npx replicache get-license\n```\n\n#### Set your `VITE_REPLICACHE_LICENSE_KEY` environment variable\n\n```bash\n$ export VITE_REPLICACHE_LICENSE_KEY=\"\u003cyour license key\u003e\"\n```\n\n#### Install and Build\n\n```bash\n$ npm install; npm run build;\n```\n\n## 2.Start frontend and backend watcher\n\n```bash\n$ npm run watch --ws\n```\n\nProvides an example integrating replicache with react in a simple todo application.\n\n## Deploying to Render\n\nA render blueprint example is provided to deploy the application.\n\nOpen the `render.yaml` file and add your license key\n\n```\n- key: VITE_REPLICACHE_LICENSE_KEY \n    value: \u003clicense_key\u003e\n```\n\nCommit the changes and follow the direction on [Deploying to Render](https://doc.replicache.dev/deploy-render)\n/client\n/shared \n/server \npackage.json\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocicorp%2Ftodo-wc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocicorp%2Ftodo-wc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocicorp%2Ftodo-wc/lists"}