DEV Community

Brandon Bayer
Brandon Bayer

Posted on

🎉 Announcing Blitz.js: Rails-like framework for full-stack React apps — built on Next.js

Today we're announcing the first alpha release of Blitz.js!

Blitz is a Rails-like framework for monolithic, full-stack React apps.

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!

Blitz is the framework for the 99% of us at companies with <100 employees. This means we don't force you to use advanced technologies like GraphQL. We let you add advanced technologies on your terms and at your pace.

Blitz maximizes your productivity both when starting an app and when scaling it to lots of code and users.

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

Try Blitz Yourself

npm i -g blitz
blitz new myapp
Enter fullscreen mode Exit fullscreen mode

Read the Alpha User Guide to learn more!

Top comments (2)

Collapse
 
alphaolomi profile image
Alpha Olomi

One of the best tech in the JS world

Collapse
 
hood profile image
Andrea Cappuccio

Really interesting, will try asap!