{"id":28897514,"url":"https://github.com/render-examples/blitzjs","last_synced_at":"2026-01-20T17:55:58.946Z","repository":{"id":97471237,"uuid":"386433373","full_name":"render-examples/blitzjs","owner":"render-examples","description":"Deploy a Blitz app to Render","archived":false,"fork":false,"pushed_at":"2025-01-17T23:10:56.000Z","size":227,"stargazers_count":0,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T00:19:50.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/render-examples.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":"2021-07-15T21:54:49.000Z","updated_at":"2025-01-17T23:10:57.000Z","dependencies_parsed_at":"2023-04-05T03:13:26.962Z","dependency_job_id":null,"html_url":"https://github.com/render-examples/blitzjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/render-examples/blitzjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/render-examples%2Fblitzjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/render-examples%2Fblitzjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/render-examples%2Fblitzjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/render-examples%2Fblitzjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/render-examples","download_url":"https://codeload.github.com/render-examples/blitzjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/render-examples%2Fblitzjs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261078543,"owners_count":23106482,"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-06-21T06:30:47.984Z","updated_at":"2026-01-20T17:55:58.931Z","avatar_url":"https://github.com/render-examples.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# **blitzjs**\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\n```\n\nEnsure the `.env.test.local` file has required environment variables:\n\n```\nDATABASE_URL=postgresql://\u003cYOUR_DB_USERNAME\u003e@localhost:5432/blitzjs_test\n```\n\n## Tests\n\nRuns your tests using Jest.\n\n```\nyarn test\n```\n\nBlitz comes with a test setup using [Jest](https://jestjs.io/) 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\n├── app/\n│   ├── api/\n│   ├── auth/\n│   │   ├── components/\n│   │   │   ├── LoginForm.tsx\n│   │   │   └── SignupForm.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│   │   ├── pages/\n│   │   │   ├── forgot-password.tsx\n│   │   │   ├── login.tsx\n│   │   │   ├── reset-password.tsx\n│   │   │   └── signup.tsx\n│   │   └── validations.ts\n│   ├── core/\n│   │   ├── components/\n│   │   │   ├── Form.tsx\n│   │   │   └── LabeledTextField.tsx\n│   │   ├── hooks/\n│   │   │   └── useCurrentUser.ts\n│   │   └── layouts/\n│   │       └── Layout.tsx\n│   ├── pages/\n│   │   ├── 404.tsx\n│   │   ├── _app.tsx\n│   │   ├── _document.tsx\n│   │   ├── index.test.tsx\n│   │   └── index.tsx\n│   └── users/\n│       └── queries/\n│           └── getCurrentUser.ts\n├── db/\n│   ├── index.ts\n│   ├── schema.prisma\n│   └── seeds.ts\n├── integrations/\n├── mailers/\n│   └── forgotPasswordMailer.ts\n├── public/\n│   ├── favicon.ico*\n│   └── logo.png\n├── test/\n│   ├── setup.ts\n│   └── utils.tsx\n├── README.md\n├── babel.config.js\n├── blitz.config.js\n├── jest.config.js\n├── package.json\n├── tsconfig.json\n├── types.d.ts\n├── types.ts\n└── yarn.lock\n```\n\nThese files are:\n\n- The `app/` 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- `.babelrc.js`, `.env`, etc. (\"dotfiles\") are configuration files for various bits of JavaScript tooling.\n\n- `blitz.config.js` is for advanced custom configuration of Blitz. It extends [`next.config.js`](https://nextjs.org/docs/api-reference/next.config.js/introduction).\n\n- `jest.config.js` contains config for Jest tests. You can [customize it if needed](https://jestjs.io/docs/en/configuration).\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://eslint.org).\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://typicode.github.io/husky).\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://prettier.io).\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://discord.blitzjs.com/)\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%2Frender-examples%2Fblitzjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frender-examples%2Fblitzjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frender-examples%2Fblitzjs/lists"}