ToUpper LLC Blog

NextJS for Beginners

Published 6 days ago4 min read
image
Image Credit: NextJS

Here we will be talking about starting a NextJS application. NextJS is a react framework that makes your application serverless. This helps your web-application to load faster and can also help your application have better SEO when it comes to ranking #1 at google.

Getting started

In order to continue, we must download the following packages/libaries.

Make sure you have:
  1. NodeJS
  2. Create-next-app

Wouldn't be a bad idea to also download Create-react-app or yarn if you haven't already.

When everything is installed correctly, type in the following:

npx create-next-app "app_name"

or

yarn create-next-app "app_name"

Run application on development server.

Once your applicationn is ready, navigate to where your folder is located and run the following command:

cd "app_name"

npm run dev

Go to localhost:3000 and you shall see what is below! Happy Hacking!

image