Skip to content
⚡️The Fullstack React Framework — built on Next.js
TypeScript JavaScript Other
Branch: canary
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update PULL_REQUEST_TEMPLATE.md Jun 6, 2020
__mocks__ Merge to master (#152) Apr 20, 2020
assets Add Fauna as a bronze sponsor 🎉 (#484) May 9, 2020
examples Fix broken linting by centralizing it + run via lint-staged (#661) Jun 10, 2020
packages Add three lint rules to catch async/await promise bugs (#662) Jun 11, 2020
patches update release script May 29, 2020
rfc-docs [RFC] Blitz App Architecture (#73) Jun 5, 2020
scripts Fix fetchRemote dev script to be sh compatible (#406) May 4, 2020
.all-contributorsrc docs: add donni106 as a contributor (#665) Jun 11, 2020
.eslintrc.js Add three lint rules to catch async/await promise bugs (#662) Jun 11, 2020
.gitattributes ci: run tests on both Windows and Ubuntu (#368) May 8, 2020
.gitignore fix blitz console again... Apr 23, 2020
.npmignore tada: bootstrap all the things (#2) Feb 20, 2020
.npmrc Change all dependency versions to be pinned (#500) May 12, 2020
.prettierignore refactor(cli): split out generator package (#346) May 3, 2020
BACKERS.md Add Fauna as a bronze sponsor 🎉 (#484) May 9, 2020
CODE_OF_CONDUCT.md Remove alpha docs and redirect to blitzjs.com (#628) Jun 5, 2020
CONTRIBUTING.md Remove alpha docs and redirect to blitzjs.com (#628) Jun 5, 2020
GOVERNANCE.md Announcing Official Core Team and Maintainers + Maintainers.md and Go… Apr 28, 2020
LICENSE Initial commit Feb 17, 2020
MAINTAINERS.md Update MAINTAINERS.md with Slack info May 1, 2020
MANIFESTO.md Remove alpha docs and redirect to blitzjs.com (#628) Jun 5, 2020
MEETING_NOTES.md Update MEETING_NOTES.md Jun 9, 2020
README.md docs: add donni106 as a contributor (#665) Jun 11, 2020
TUTORIAL.md Remove alpha docs and redirect to blitzjs.com (#628) Jun 5, 2020
USER_GUIDE.md Remove alpha docs and redirect to blitzjs.com (#628) Jun 5, 2020
lerna.json v0.13.0 Jun 6, 2020
package.json Add three lint rules to catch async/await promise bugs (#662) Jun 11, 2020
prettier.config.js ci: run tests on both Windows and Ubuntu (#368) May 8, 2020
tsconfig.build.json tada: bootstrap all the things (#2) Feb 20, 2020
tsconfig.json Merge to master (#152) Apr 20, 2020
yarn.lock Fix broken linting by centralizing it + run via lint-staged (#661) Jun 10, 2020

README.md

Blitz.js


The Fullstack React Framework

Built on Next.js — Inspired by Ruby on Rails — New Fullstack Data Layer

Read the Documentation


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

You need Node.js 12 or newer

Install Blitz

Run npm install -g blitz

Create a New App

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



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.

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.


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


Brandon Bayer

Creator

Rudi Yardley

Node.js Wizard

Dylan Brookes

Friendly Generalist

Maintainers (Level 2)

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


Adam Markon

CLI

Robert Rosenberg

Website/Docs

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


Lori Karikari

Corey Brown

Simon Knott

Elias Johansson

Jeremy Liberman

Jaga Santagostino

Simon Debbarma

Jack Clancy

Ivan Medina

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

📖

Matt

📖

Sonny

📖

Fran Zekan

💻 📖

Jan Baykara

📖

Mike Perry Y Attara

📖

Devan

📖

Jack Clancy

💻 🚧

Nicolas Torres

⚠️ 💻

Simon Knott

💻 ⚠️ 🚧

Jaga Santagostino

💻 📖 🚧

João Portela

💻

Da-Jin Chu

💻

Shinobu Hayashi

💻

Karan Kiri

💻

Alan Long

📖

codingsh

💻

Rafael Nunes

👀 💻

Simon Debbarma

🎨 🚧 📖

0xflotus

💻 📖

tmns

💻 📖

Jru Harris

📖

Ivan Medina

💻 🚧

Dwight Watson

💻

Horie Issei

💻

Nhat Khanh

💻

Abu Uzayr

💻

Nabiullah elham

💻

Lachlan Campbell

💻

Enzo Ferey

💻

Pierre Grimaud

💻

John Letey

💻

Andreas Adam

💻

Kevin Tovar

💻

Ante Primorac

💻 📖

Mykal Machon

💻

Jamie Davenport

💻

GaneshMani

💻

reymon359

💻

gvasquez11

💻

José Miguel Ochoa

💻

Oscar Sirvent

💻

Daniel Molnar

📖

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

You can’t perform that action at this time.