{"id":29734013,"url":"https://github.com/themesberg/flowbite-react-template-blitzjs","last_synced_at":"2025-07-25T10:38:33.214Z","repository":{"id":283351238,"uuid":"951282778","full_name":"themesberg/flowbite-react-template-blitzjs","owner":"themesberg","description":"Official Flowbite React template using Blitz.js","archived":false,"fork":false,"pushed_at":"2025-04-15T06:36:14.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-19T06:27:24.325Z","etag":null,"topics":["blitzjs","flowbite-react","template"],"latest_commit_sha":null,"homepage":"https://flowbite-react.com/docs/guides/blitzjs","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/themesberg.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,"zenodo":null}},"created_at":"2025-03-19T12:46:40.000Z","updated_at":"2025-04-15T06:36:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"994b1ab4-7381-426b-a461-4c52b34bd672","html_url":"https://github.com/themesberg/flowbite-react-template-blitzjs","commit_stats":null,"previous_names":["themesberg/flowbite-react-template-blitzjs"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/themesberg/flowbite-react-template-blitzjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themesberg%2Fflowbite-react-template-blitzjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themesberg%2Fflowbite-react-template-blitzjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themesberg%2Fflowbite-react-template-blitzjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themesberg%2Fflowbite-react-template-blitzjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/themesberg","download_url":"https://codeload.github.com/themesberg/flowbite-react-template-blitzjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themesberg%2Fflowbite-react-template-blitzjs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266991289,"owners_count":24017740,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["blitzjs","flowbite-react","template"],"created_at":"2025-07-25T10:38:32.466Z","updated_at":"2025-07-25T10:38:33.172Z","avatar_url":"https://github.com/themesberg.png","language":"TypeScript","readme":"[![Blitz.js](https://raw.githubusercontent.com/blitz-js/art/master/github-cover-photo.png)](https://blitzjs.com)\n\nThis is a [Blitz.js](https://github.com/blitz-js/blitz) app.\n\n# ****name****\n\n## Getting Started\n\nRun your app in the development mode.\n\n```\nblitz dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Environment Variables\n\nEnsure the `.env.local` file has required environment variables:\n\n```\nDATABASE_URL=postgresql://\u003cYOUR_DB_USERNAME\u003e@localhost:5432/blitzjs-project\n```\n\nEnsure the `.env.test.local` file has required environment variables:\n\n```\nDATABASE_URL=postgresql://\u003cYOUR_DB_USERNAME\u003e@localhost:5432/blitzjs-project_test\n```\n\n## Tests\n\nRuns your tests using Jest.\n\n```\nyarn test\n```\n\nBlitz comes with a test setup using [Vitest](https://vitest.dev/) and [react-testing-library](https://testing-library.com/).\n\n## Commands\n\nBlitz comes with a powerful CLI that is designed to make development easy and fast. You can install it with `npm i -g blitz`\n\n```\n  blitz [COMMAND]\n\n  dev       Start a development server\n  build     Create a production build\n  start     Start a production server\n  export    Export your Blitz app as a static application\n  prisma    Run prisma commands\n  generate  Generate new files for your Blitz project\n  console   Run the Blitz console REPL\n  install   Install a recipe\n  help      Display help for blitz\n  test      Run project tests\n```\n\nYou can read more about it on the [CLI Overview](https://blitzjs.com/docs/cli-overview) documentation.\n\n## What's included?\n\nHere is the starting structure of your app.\n\n```\nblitzjs-project\n├── README.md\n├── db\n│   ├── index.ts\n│   └── schema.prisma\n├── integrations\n├── mailers\n│   └── forgotPasswordMailer.ts\n├── next-env.d.ts\n├── next.config.js\n├── package.json\n├── public\n│   └── favicon.ico\n├── src\n│   ├── app\n│   │   ├── (auth)\n│   │   │   ├── components\n│   │   │   │   ├── ForgotPasswordForm.tsx\n│   │   │   │   ├── LoginForm.tsx\n│   │   │   │   ├── LogoutButton.tsx\n│   │   │   │   ├── ResetPasswordForm.tsx\n│   │   │   │   └── SignupForm.tsx\n│   │   │   ├── forgot-password\n│   │   │   │   └── page.tsx\n│   │   │   ├── layout.tsx\n│   │   │   ├── login\n│   │   │   │   └── page.tsx\n│   │   │   ├── mutations\n│   │   │   │   ├── changePassword.ts\n│   │   │   │   ├── forgotPassword.test.ts\n│   │   │   │   ├── forgotPassword.ts\n│   │   │   │   ├── login.ts\n│   │   │   │   ├── logout.ts\n│   │   │   │   ├── resetPassword.test.ts\n│   │   │   │   ├── resetPassword.ts\n│   │   │   │   └── signup.ts\n│   │   │   ├── reset-password\n│   │   │   │   └── page.tsx\n│   │   │   ├── signup\n│   │   │   │   └── page.tsx\n│   │   │   └── validations.ts\n│   │   ├── blitz-auth-config.ts\n│   │   ├── blitz-client.ts\n│   │   ├── blitz-server.ts\n│   │   ├── components\n│   │   │   ├── Form.tsx\n│   │   │   └── LabeledTextField.tsx\n│   │   ├── error.tsx\n│   │   ├── layout.tsx\n│   │   ├── loading.tsx\n│   │   ├── page.tsx\n│   │   ├── styles\n│   │   │   ├── Home.module.css\n│   │   │   └── globals.css\n│   │   └── users\n│   │       ├── hooks\n│   │       │   └── useCurrentUser.ts\n│   │       └── queries\n│   │           └── getCurrentUser.ts\n│   └── pages\n│       └── api\n│           └── rpc\n│               └── [[...blitz]].ts\n├── tsconfig.json\n└── types.ts\n```\n\nThese files are:\n\n- The `src/` folder is a container for most of your project. This is where you’ll put any pages or API routes.\n\n- `db/` is where your database configuration goes. If you’re writing models or checking migrations, this is where to go.\n\n- `public/` is a folder where you will put any static assets. If you have images, files, or videos which you want to use in your app, this is where to put them.\n\n- `integrations/` is a folder to put all third-party integrations like with Stripe, Sentry, etc.\n\n- `test/` is a folder where you can put test utilities and integration tests.\n\n- `package.json` contains information about your dependencies and devDependencies. If you’re using a tool like `npm` or `yarn`, you won’t have to worry about this much.\n\n- `tsconfig.json` is our recommended setup for TypeScript.\n\n- `.babel.config.js`, `.eslintrc.js`, `.env`, etc. (\"dotfiles\") are configuration files for various bits of JavaScript tooling.\n\n- `blitz.config.ts` is for advanced custom configuration of Blitz. [Here you can learn how to use it](https://blitzjs.com/docs/blitz-config).\n\n- `vitest.config.ts` contains config for Vitest tests. You can [customize it if needed](https://vitejs.dev/config/).\n\nYou can read more about it in the [File Structure](https://blitzjs.com/docs/file-structure) section of the documentation.\n\n### Tools included\n\nBlitz comes with a set of tools that corrects and formats your code, facilitating its future maintenance. You can modify their options and even uninstall them.\n\n- **ESLint**: It lints your code: searches for bad practices and tell you about it. You can customize it via the `.eslintrc.js`, and you can install (or even write) plugins to have it the way you like it. It already comes with the [`blitz`](https://github.com/blitz-js/blitz/tree/canary/packages/eslint-config) config, but you can remove it safely. [Learn More](https://blitzjs.com/docs/eslint-config).\n- **Husky**: It adds [githooks](https://git-scm.com/docs/githooks), little pieces of code that get executed when certain Git events are triggerd. For example, `pre-commit` is triggered just before a commit is created. You can see the current hooks inside `.husky/`. If are having problems commiting and pushing, check out ther [troubleshooting](https://typicode.github.io/husky/#/?id=troubleshoot) guide. [Learn More](https://blitzjs.com/docs/husky-config).\n- **Prettier**: It formats your code to look the same everywhere. You can configure it via the `.prettierrc` file. The `.prettierignore` contains the files that should be ignored by Prettier; useful when you have large files or when you want to keep a custom formatting. [Learn More](https://blitzjs.com/docs/prettier-config).\n\n## Learn more\n\nRead the [Blitz.js Documentation](https://blitzjs.com/docs/getting-started) to learn more.\n\nThe Blitz community is warm, safe, diverse, inclusive, and fun! Feel free to reach out to us in any of our communication channels.\n\n- [Website](https://blitzjs.com)\n- [Discord](https://blitzjs.com/discord)\n- [Report an issue](https://github.com/blitz-js/blitz/issues/new/choose)\n- [Forum discussions](https://github.com/blitz-js/blitz/discussions)\n- [How to Contribute](https://blitzjs.com/docs/contributing)\n- [Sponsor or donate](https://github.com/blitz-js/blitz#sponsors-and-donations)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemesberg%2Fflowbite-react-template-blitzjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemesberg%2Fflowbite-react-template-blitzjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemesberg%2Fflowbite-react-template-blitzjs/lists"}