{"id":24087925,"url":"https://github.com/tinybirdco/ecommerce-svelte","last_synced_at":"2025-05-05T21:40:53.102Z","repository":{"id":113972180,"uuid":"530764325","full_name":"tinybirdco/ecommerce-svelte","owner":"tinybirdco","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-31T22:18:14.000Z","size":29477,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T23:51:13.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"ecommerce-svelte-rho.vercel.app","language":"Svelte","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/tinybirdco.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":"2022-08-30T17:39:04.000Z","updated_at":"2025-01-31T22:18:12.000Z","dependencies_parsed_at":"2024-08-02T15:53:23.848Z","dependency_job_id":null,"html_url":"https://github.com/tinybirdco/ecommerce-svelte","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/tinybirdco%2Fecommerce-svelte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fecommerce-svelte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fecommerce-svelte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinybirdco%2Fecommerce-svelte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinybirdco","download_url":"https://codeload.github.com/tinybirdco/ecommerce-svelte/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252581773,"owners_count":21771565,"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-01-10T03:56:11.223Z","updated_at":"2025-05-05T21:40:53.042Z","avatar_url":"https://github.com/tinybirdco.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ecommerce-svelte demo\n\nThis repo contains an ecommerce demo tho show a very basic[^1] example of real time personalization using Tinybird to ingest data, transform it, and publish endpoints.\n\nIt is deliberatedly simple to be quickly showable in a demo.\n\nYou can visit the deployed apps here:\n\n- [Svelte ecommerce](https://ecommerce-svelte-rho.vercel.app/)\n- [Tremor dashboard](https://ecommerce-svelte-tremor-dashboard.vercel.app/)\n\n## Create the Tinybird workspace\n\nIf you are planning to use the current workspace, ask internally for the tokens and jump directly to the next step.\n\nOtherwise, `cd data-project` and follow the [README](/data-project/README.md) of that folder.\n\n## The website\n\n`cd demo-ecomm-svelte` and follow the [README](/demo-ecomm-svelte/README.md).\n\n## Enhancements\n\nCheck the /todo page to check planned developments.\n\n### Using the Tinybird Web Analytics Starter Kit\n\nFollow the [Starter Kit README](https://github.com/tinybirdco/web-analytics-starter-kit#readme) and add the flock.js scrtipt in `demo-ecomm-svelte/src/routes/+layout.svelte` inside the `\u003csvelte:head\u003e` tag:\n\n```html\n\u003csvelte:head\u003e\n  \u003ctitle\u003eHome - SvelteKit Commerce\u003c/title\u003e\n  \u003cscript src=\"https://unpkg.com/@tinybirdco/flock.js\" data-token=\"YOUR_TRACKER_TOKEN\"\u003e\u003c/script\u003e\n\u003c/svelte:head\u003e\n```\n\nAnd you can check your dashboard right away: [https://analytics.tinybird.co/](https://analytics.tinybird.co/) adding the `dashboard` token from your workspace.\n\nNote: we already included it using the `VITE_WEB_TRACKER` and `VITE_WEB_TRACKER` environment variables.\n\n[^1]: Very basic in the sense of not taking to account the user journey, just the number of visits, sales, and people who added to cart for each product. It definetly can be enhanced.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinybirdco%2Fecommerce-svelte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinybirdco%2Fecommerce-svelte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinybirdco%2Fecommerce-svelte/lists"}