blitz README

The project's README from github.com/blitz-js/blitz. As one markdown file: README.md.

Blitz.js


The Missing Fullstack Toolkit for Next.js


Quick Start

Install Blitz

Run npm install -g blitz or yarn global add blitz

You can alternatively use npx

Create a New App

  1. blitz new myAppName
  2. cd myAppName
  3. blitz dev
  4. View your brand new app at http://localhost:3000



Welcome to the Blitz Community 👋

The Blitz community is warm, safe, diverse, inclusive, and fun! LGBTQ+, women, and minorities are especially welcome. Please read our Code of Conduct.

Join our Discord Community where we help each other build Blitz apps. It's also where we collaborate on building Blitz itself.

For questions and longer form discussions, post in our forum.

There's still a lot of work to do, so you are especially invited to join us in building Blitz! A good place to start is The Contributing Guide.


Financial Contributors

Your financial contributions help ensure Blitz continues to be developed and maintained! We have monthly sponsorship options starting at $5/month.

👉 View options and contribute at GitHub Sponsors, PayPal, or Open Collective

🌱 Seedling Sponsors

🥉 Bronze Sponsors

🥈 Silver Sponsors

🏆 Gold Sponsors

💎 Diamond Sponsors


Core Team ✨


Brandon Bayer

Creator

Dillon Raphael

Siddharth Suresh avatar
Siddharth Suresh

Maintainers (Level 2) ✨

Code ownership, pull request approvals and merging, etc (see Maintainers L2)


Simon Knott

SuperJSON

JH.Lee

SuperJSON

Maintainers (Level 1) ✨

Issue triage, pull request triage, community encouragement and moderation, etc (see Maintainers L1)


Jeremy Liberman

Contributors ✨

Thanks to these wonderful people (emoji key):


Brandon Bayer

💻 🖋 🤔 👀 ⚠️ 📖

Rudi Yardley

💻 🤔 👀 ⚠️

Dylan Brookes

💻 🤔 👀 ⚠️ 📖

Adam Markon

💻 🤔 👀 ⚠️ 🚧

Corey Brown

💻 👀 🚧

Lori Karikari

💻 👀 🚧 📖

Elias Johansson

💻 👀 🚧

Michael Edelman

🚇 💻

Todd Geist

💵 💻

Robert Rosenberg

💻 🚧 📖

Beata Obrok

💻

Tahir Awan

💻

Camilo Gonzalez

💻

Daniel Kempner

💻

Giel

💻

Jeremy Liberman

💻 🚧 ⚠️ 📖

Jim Cummins

💻

Kristina Matuška

🎨

Jason Blalock

💻

aej11a

💻

marcoseoane

🤔

Rishabh Poddar

🤔

Lorenzo Rapetti

💻

Justin Hall

💻 📖

Sajjad Hashemian

💻

Eduardo Lopes

💻

Matthew Leffler

📖

blitz (blitz-js/blitz)

Searching Database…

14.1K ·GitHub
这是什么?Blitz 是一个基于 Next.js 构建的全栈工具包,补充了 CLI、数据库 ORM 集成和约定规范等缺失的部分,让你不用自己逐个拼接,就能搭建出完整的应用。
它是一个框架,还是只是一组库?它是构建在 Next.js 之上的框架/工具包,有自己的 CLI 和自动生成的项目结构,而不是一个需要你导入使用的单一库。
我该怎么创建并运行一个新的 Blitz 应用?使用 npm install -g blitz 全局安装 CLI(也可以用 yarn global add blitz,或直接用 npx),然后运行 blitz new myAppName,进入该目录,再执行 blitz dev。
Blitz 应用底层依赖哪些技术栈?Blitz 应用基于 Next.js 和 React 构建,使用 Prisma 作为数据库 ORM,项目本身采用 TypeScript 编写。
为什么用 Blitz,而不是直接用 Next.js?Blitz 在 Next.js 之上增加了全栈约定,例如通过其数据层,可以在 React 组件中直接访问数据库,让你省去自己编写 API 样板代码的工作。
Blitz 是个人项目,还是社区驱动的?Blitz 有核心团队和多个级别的维护者,还有活跃的 Discord 和论坛社区,并通过 GitHub Sponsors、PayPal 和 Open Collective 获得财务赞助。
不做全局安装,我能试用 Blitz 吗?可以。README 中提到,也可以改用 npx,无需全局安装。
Blitz 的 monorepo 本身用什么包管理器?该仓库通过 preinstall 脚本(npx only-allow pnpm)强制使用 pnpm,并使用 Turbo 来运行构建、代码检查和测试任务。
Creator
blitz-js
Size
121.2 MB
Stars
14.1K
Age
6y
Commits · 90 Days