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)
- Server side rendering feature – good for SEO.
- Page based Routing
- 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.
- 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.
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.
- 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.