{"id":31840352,"url":"https://github.com/twentytwo/white-cherry-cloudflare","last_synced_at":"2026-02-15T09:42:46.162Z","repository":{"id":287751744,"uuid":"965685196","full_name":"twentyTwo/white-cherry-cloudflare","owner":"twentyTwo","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-13T17:39:27.000Z","size":173,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-11T01:41:49.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/twentyTwo.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":"2025-04-13T17:39:24.000Z","updated_at":"2025-04-13T17:39:28.000Z","dependencies_parsed_at":"2025-04-13T18:50:14.021Z","dependency_job_id":null,"html_url":"https://github.com/twentyTwo/white-cherry-cloudflare","commit_stats":null,"previous_names":["twentytwo/white-cherry-cloudflare"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/twentyTwo/white-cherry-cloudflare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twentyTwo%2Fwhite-cherry-cloudflare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twentyTwo%2Fwhite-cherry-cloudflare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twentyTwo%2Fwhite-cherry-cloudflare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twentyTwo%2Fwhite-cherry-cloudflare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twentyTwo","download_url":"https://codeload.github.com/twentyTwo/white-cherry-cloudflare/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twentyTwo%2Fwhite-cherry-cloudflare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29475187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-10-12T04:56:32.975Z","updated_at":"2026-02-15T09:42:46.130Z","avatar_url":"https://github.com/twentyTwo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# SaaS Admin Template\n\n[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/templates/tree/main/white-cherry-32bd)\n\n![SaaS Admin Template](https://imagedelivery.net/wSMYJvS3Xw-n339CbDyDIA/52b88668-0144-489c-dd02-fe620270ba00/public)\n\n\u003c!-- dash-content-start --\u003e\n\nA complete admin dashboard template built with Astro, Shadcn UI, and Cloudflare's developer stack. Quickly deploy a fully functional admin interface with customer and subscription management capabilities.\n\n## Features\n\n- 🎨 Modern UI built with Astro and Shadcn UI\n- 🔐 Built-in API with token authentication\n- 👥 Customer management\n- 💳 Subscription tracking\n- 🚀 Deploy to Cloudflare Workers\n- 📦 Powered by Cloudflare D1 database\n- ✨ Clean, responsive interface\n- 🔍 Data validation with Zod\n\n## Tech Stack\n\n- Frontend: [Astro](https://astro.build)\n- UI Components: [Shadcn UI](https://ui.shadcn.com)\n- Database: [Cloudflare D1](https://developers.cloudflare.com/d1)\n- Deployment: [Cloudflare Workers](https://workers.cloudflare.com)\n- Validation: [Zod](https://github.com/colinhacks/zod)\n\n\u003e [!IMPORTANT]\n\u003e When using C3 to create this project, select \"no\" when it asks if you want to deploy. You need to follow this project's [setup steps](https://github.com/cloudflare/templates/tree/main/d1-template#setup-steps) before deploying.\n\n\u003c!-- dash-content-end --\u003e\n\n## Setup Steps\n\n1. Install dependencies:\n\n```bash\nnpm install\n```\n\n2. Set up your environment variables:\n\n```bash\n# Create a .dev.vars file for local development\ntouch .dev.vars\n```\n\nAdd your API token:\n\n```\nAPI_TOKEN=your_token_here\n```\n\n_An API token is required to authenticate requests to the API. You should generate this before trying to run the project locally or deploying it._\n\n3. Create a [D1 database](https://developers.cloudflare.com/d1/get-started/) with the name \"restless-limit-d251-d1\":\n\n```bash\nnpx wrangler d1 create restless-limit-d251-d1\n```\n\n...and update the `database_id` field in `wrangler.json` with the new database ID.\n\n4. Run the database migrations locally:\n\n```bash\n$ npm run db:migrate\n```\n\nRun the development server:\n\n```bash\nnpm run dev\n```\n\n_If you're testing Workflows, you should run `npm run wrangler:dev` instead._\n\n5. Deploy to Cloudflare Workers:\n\n```bash\nnpm run deploy\n```\n\n6. Run the database migrations remotely:\n\n```bash\n$ npm run db:migrate:remote\n```\n\n7. Set your production API token:\n\n```bash\nnpx wrangler secret put API_TOKEN\n```\n\n## Usage\n\nThis project includes a fully functional admin dashboard with customer and subscription management capabilities. It also includes an API with token authentication to access resources via REST, returning JSON data.\n\nIt also includes a \"Customer Workflow\", built with [Cloudflare Workflows](https://developers.cloudflare.com/workflows). This workflow can be triggered in the UI or via the REST API to do arbitrary actions in the background for any given user. See [`customer_workflow.ts`]() to learn more about what you can do in this workflow.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwentytwo%2Fwhite-cherry-cloudflare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwentytwo%2Fwhite-cherry-cloudflare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwentytwo%2Fwhite-cherry-cloudflare/lists"}