blitz

⚡️The Fullstack React Framework — built on Next.js

Github星跟踪图

Blitz.js

New “no-API” data layer lets you import server code into your React components instead of having to fetch from an API.

Includes everything you need for production apps. Everything end-to-end from the database to the frontend.

Blitz brings back the simplicity and conventions of server-rendered frameworks like Ruby on Rails while preserving everything we love about React and client-side rendering!

Quick Start

  1. npm i -g blitz
  2. blitz new myapp

Architecture diagram

Features:
⚡️ Built on Next.js
⚡️ Don't have to build an API for client-side rendering
⚡️ Client-side rendering, Server-side rendering, and fully static pages all in the same app
⚡️ Full Typescript support with static, end-to-end typing (no code generation step needed like with GraphQL)
⚡️ React Concurrent Mode enabled
⚡️ Database/ORM agnostic, but Prisma 2 is default
⚡️ CLI with code scaffolding, Rails-style console REPL, etc
⚡️ GraphQL Ready
⚡️ Deploy serverless or serverful

Other key features coming:
⚡️ Highly secure authentication
⚡️ Authorization you can use on both server and client
⚡️ Model validation you can use on both server and client
⚡️ Plugins for easily adding libraries like Tailwind, CSS-in-JS, etc.
⚡️ React native support
⚡️ GUI so you don't have to use the CLI

The Foundational Principles

  1. Fullstack & Monolithic
  2. API Not Required
  3. Convention over Configuration
  4. Loose Opinions
  5. Easy to Start, Easy to Scale
  6. Stability
  7. Community over Code

The Blitz Manifesto explains these principles in detail.

What is Blitz Designed For?

Blitz is designed for tiny to large database-backed applications that have one or more graphical user interfaces.

While we currently only support web, we are pursuing the dream of a single monolithic application that runs on web and mobile with maximum code sharing and minimal boilerplate.

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 Slack Community where we help each other build Blitz apps. It's also where we collaborate on building Blitz itself.

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.

Sponsors and Donations

Sponsor Blitz and display your logo and hiring status here. This is a great way to get in front of early adopters!

View our Bronze Sponsors

Core Team ✨

Maintainers (Level 2) ✨

Code ownership, pull request approvals and merging, etc (see MAINTAINERS.md)

Maintainers (Level 1) ✨

Issue triage, pull request triage, community encouragement and moderation, etc (see MAINTAINERS.md)

We need more woman & nonbinary level 1 maintainers. See MAINTAINERS.md for what this entails

Contributors ✨

Thanks to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

主要指标

概览
名称与所有者blitz-js/blitz
主编程语言TypeScript
编程语言TypeScript (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2020-02-17 21:54:15
推送于2025-03-03 12:52:08
最后一次提交2020-04-23 15:29:05
发布数1060
最新版本名称v3.0.1 (发布于 )
第一版名称v0.0.1-canary.0 (发布于 2020-04-13 15:35:09)
用户参与
星数13.9k
关注者数97
派生数811
提交数696
已启用问题?
问题数675
打开的问题数78
拉请求数1953
打开的拉请求数3
关闭的拉请求数339
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?