How to Build a Full Stack App with Next.js 13 and Firebase

Hasanur Rahman
Hasanur Rahman
Thumbnail

Next.js is a React framework that makes building powerful full stack (front end + back end) applications a lot easier.

The team behind Next.js recently released Next.js 13 which has a whole lot of futures like a new app Directory, server and client components, and more.

Before you continue, this article assumes you have a basic knowledge of JavaScript, React, and Next.js. If you need to brush up on those skills, here are some beginner-friendly resources:

Now if you’re ready, let’s dive in.

How to Set Up a Next.js 13 Project

To set up Next.js, you need to have Node.js and npm/yarn installed on your computer. If you dont have them, you can install them from their official websites: Node.js website and npm website (but npm is included when you install Node).

  1. In your desired directory, launch your terminal and run the following
    npx create-next-app@latest --experimental-app.
  2. Enter your project name and click enter and wait for it to install.
  3. A new directory with your project name will be created with the necessary files.
  4. cd your way into the new directory:
    cd my-project-name

Next.js 13 app

Hasanur Rahman

About Hasanur Rahman

Mario is a Staff Engineer specialising in Frontend at Vercel, as well as being a co-founder of Acme and the content management system Sanity. Prior to this, he was a Senior Engineer at Apple.

Copyright © 2023 . All rights reserved.