What is Blitzjs and Why you should use it?

Introduction
BlitzJS is a full stack framework. In simple terms it\’s NextJS with additional features to make a developers life easy.

Quick Recap of NextJS (a Full Stack framework)

  1. Server side rendering feature – good for SEO.
  2. Page based Routing
  3. Lets you create backend API\’s.

Why Blitz then?

But when you create a new NextJS app it\’s totally bare-bones. You need to spend time adding basic stuff like eslint, prettier etc.

This is where Blitzjs shines. It makes building a web application fun and easy.

Key features

  1. No APIs needed
    You can import server side code to frontend directly, no API\’s needed. Blitz does all the hard work for you. Alternatively you can continue using REST or GraphQL API\’s to fetch data.
  2. Authentication
    When you create a new application with Blitz you get Authentication feature out of the box. Features like Login, Signup and Forgot Password. This can save you lot of time as setting up authentication is not only time consuming but also tricky.
  3. Code Scaffolding
    The initial code is scaffolded for you but doesnt limit you. This can save you tons of time. That said you are free to change it the way you like.
    To add additional modules there are recipes. Like if you want to add tailwind or material-ui it\’s just one command away.

In the next article I will share steps to create a simple application using Blitzjs.

Leave a Comment

Your email address will not be published. Required fields are marked *