“Zero-API” data layer lets you import server code directly into your React components instead of having to manually add API endpoints and do client-side fetching and caching.
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!
You need Node.js 12 or newer
Run npm install -g blitz
blitz new myAppName
cd myAppName
blitz start
- View your baby app at https://localhost:3000
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
⚡️ Highly secure authentication
⚡️ Authorization you can use on both server and client
⚡️ Recipes for easily adding libraries like Tailwind, CSS-in-JS, etc.
Other key features coming:
⚡️ Model validation you can use on both server and client
⚡️ React native support
⚡️ GUI so you don't have to use the CLI
- Fullstack & Monolithic
- API Not Required
- Convention over Configuration
- Loose Opinions
- Easy to Start, Easy to Scale
- Stability
- Community over Code
The Blitz Manifesto explains these principles in detail.
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.
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.
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.
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
Brandon Bayer Creator |
Rudi Yardley Node.js Wizard |
Dylan Brookes Friendly Generalist |
Code ownership, pull request approvals and merging, etc (see MAINTAINERS.md)
Adam Markon CLI |
Robert Rosenberg Website/Docs |
Issue triage, pull request triage, community encouragement and moderation, etc (see MAINTAINERS.md)
Lori Karikari |
Corey Brown |
Simon Knott |
Jeremy Liberman |
Jaga Santagostino |
Simon Debbarma |
Jack Clancy |
Ivan Medina |
Thanks to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!