{"id":20759676,"url":"https://github.com/jorgecoke/cloudfire","last_synced_at":"2026-01-27T08:03:29.972Z","repository":{"id":263178226,"uuid":"888886978","full_name":"JorgeCoke/cloudfire","owner":"JorgeCoke","description":"🔥 CLOUDFIRE 🔥 a Hono + React + Cloudflare (Pages \u0026 D1 SQLite) + DrizzleORM template","archived":false,"fork":false,"pushed_at":"2024-11-28T13:26:41.000Z","size":623,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-27T23:38:52.464Z","etag":null,"topics":["auth","boilerplate","cloudflare","deploy","drizzle","framework","hono","react","stack","template"],"latest_commit_sha":null,"homepage":"https://cloudfire-1gu.pages.dev/","language":"TypeScript","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/JorgeCoke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-11-15T07:40:53.000Z","updated_at":"2024-11-28T13:26:45.000Z","dependencies_parsed_at":"2025-01-18T05:14:30.531Z","dependency_job_id":"2e0e5e15-06e2-4785-9689-b0a1093884c7","html_url":"https://github.com/JorgeCoke/cloudfire","commit_stats":null,"previous_names":["jorgecoke/cloudfire"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/JorgeCoke/cloudfire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JorgeCoke%2Fcloudfire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JorgeCoke%2Fcloudfire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JorgeCoke%2Fcloudfire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JorgeCoke%2Fcloudfire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JorgeCoke","download_url":"https://codeload.github.com/JorgeCoke/cloudfire/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JorgeCoke%2Fcloudfire/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28809337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["auth","boilerplate","cloudflare","deploy","drizzle","framework","hono","react","stack","template"],"created_at":"2024-11-17T10:05:39.158Z","updated_at":"2026-01-27T08:03:29.956Z","avatar_url":"https://github.com/JorgeCoke.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n🔥 CLOUDFIRE 🔥\n\u003c/h1\u003e\n\n\u003ch5 align=\"center\"\u003e\na Hono + React + Cloudflare (Pages \u0026 D1 SQLite) + DrizzleORM template\n\u003c/h5\u003e\n\n---\n\nThis boilerplate SaaS template stack is **designed for developers** seeking a streamlined, **high-performance** setup with **minimal dependencies**, and **super lightweight**. Perfect for modern web applications 🚀\n\n## ✨ Features\n\n- ☁️ [Cloudflare Pages](https://pages.cloudflare.com/) and [Cloudflare D1](https://developers.cloudflare.com/d1/) SQLite **serverless** deployment with\n- 🔥 [Hono](https://hono.dev/), the **fastest JS** server framework\n- 📚 Automagically generated [SwaggerUI + OpenApi v3](https://swagger.io/specification/) spec\n- ⚛️ [React](https://react.dev/) 18 **SPA** ( \u003c80kb gzip! )\n- 🪛 [Nanostores](https://github.com/nanostores/nanostores) State Management, Router and Query **lightweight multitool**\n- 🌧 [Drizzle](https://orm.drizzle.team/) as **SQLite ORM**\n- 🛡 [Zod](https://zod.dev/) **validator**\n- 🦄 [Tailwind](https://tailwindcss.com/) **styles**\n- 🔐 Username + password **JWT Auth Example**\n- 🎨 The best **linter** and **formatter**, [BiomeJS](https://biomejs.dev/)\n- 💄 **Commit nomenclature** rules following [Conventional Commit Format](https://commitlint.js.org/) and [Commitizen CLI](https://github.com/commitizen/cz-cli) (emoji [powered](https://github.com/folke/devmoji))\n- 🚀 **Release management policy** with [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version), including automagically CHANGELOG.md generation, GitTags, and version bumping\n- 🐶 Pre-Commit [Husky](https://github.com/typicode/husky) **hooks**\n- 🔦 Included [npm-check](https://www.npmjs.com/package/npm-check) to check for **outdated, incorrect, and unused** dependencies.\n- 🥷🏻 Included [better-npm-audit](https://www.npmjs.com/package/better-npm-audit) to check for dependency **vulnerabilities**\n\n\n## 🛠 Getting Started\n\nFirst, create your production \u0026 preview databases, and update your wrangler configuration file:\n\n```\nnpm i -g wrangler                           # Install Cloudflare Wrangler CLI\nwrangler login                              # Login to Cloudflare\nwrangler d1 create cloudfire-prod-db        # Create Prod database, and don't forget to update [[d1_databases]] section in wrangle.toml with your database_id and database_name\nwrangler d1 create cloudfire-preview-db     # Create Preview database, and  don't forget to update [[env.preview.d1_databases]] section in wrangle.toml with your database_id and database_name\ncp .dev.vars.example .dev.vars              # Create a .dev.vars and don't forget to fill it with your secret variables\n```\n\nThen, simply install dependencies, run the migrations and launch it!\n\n```\nnpm ci                          # Install dependencies\nnpm run db:migrate:local        # Run database migrations locally\nnpm run dev                     # Launch project locally\n```\n\n## ⛩ Git Commit with Commitizen\n\n```\ngit add .            # Add files\nnpm run cz           # Commit with Commitizen CLI\n```\n\n## 🎨 Linter \u0026 Formatter\n\n```\nnpm run biome         # Run BiomeJS\n```\n\n## 🚀 Release and deploy a new version\n\n1. (optional) First, generate a new release:\n\n```\nnpm run release                                             # (default) Bump version, generate CHANGELOG.md and push GitTag to origin\ncommit-and-tag-version --first-release --release-as 1.0.0   # First release and Release as a Target Type Imperatively\n```\n\n2. Then, add environment variables vía dashboard [(docs)](https://developers.cloudflare.com/workers/configuration/environment-variables/#add-environment-variables-via-the-dashboard), run migrations and deploy it:\n\n```\nnpm run db:migrate:preview  # Run database migrations (preview environment)\nnpm run deploy:preview      # Deploy (preview environment)\n\nnpm run db:migrate:prod     # Run database migrations (prod environment)\nnpm run deploy:prod         # Deploy (prod environment)\n```\n\n## 🖥 Drizzle Migrations \u0026 Studio\n\nGenerate new migrations:\n\n```\nnpm run db:generate\n```\n\nLaunch database studio:\n\n```\nnpm run db:studio:local\nnpm run db:studio:preview\nnpm run db:studio:prod\n```\n\n## 🔦 Check vulnerabilities and update outdated dependencies\n\n```\nnpm run npm:audit     # Check dependency vulnerabilities\nnpm run npm:check     # Check outdated dependencies\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorgecoke%2Fcloudfire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjorgecoke%2Fcloudfire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorgecoke%2Fcloudfire/lists"}