Joshhortt / nextjs-one

Next.js 13 Tutorial for Beginners - part 1

Home Page:https://creativelightbox.net/getting-started-with-nextjs-a-comprehensive-guide-to-building-your-first-application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js One


πŸ”° Next.js 13 for Beginners Series

Learn how to get Next.js version 13 set up and installed for the rest of the beginner tutorial series.

In this series, we’re going through the basics of learning the static site generator, Next.js.

Read the related Blog article for this repository:

Getting Started with Next.js: A Comprehensive Guide to Building Your First Application

βœ… Author Links

πŸ‘‹ Hello, I'm CalvΓ‘rio.

πŸ‘‰ My Portfolio

πŸ“° Check out my Blog with dozens of tutorials

πŸ”– Follow Me:

πŸš€ Description

This repository nextjs-one is referenced as the first part of the Next.js 13 for Beginners tutorial series.

πŸŽ’ Prerequisites

πŸ”¨ Free Web Dev Tools

πŸ“š References

πŸ’» Getting started

We’ll go through installing Next.js 13

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

βž• Source Code

This is a Next.js project bootstrapped with create-next-app.

πŸ“‚ File structure

🟨
    nextjs-one
    |
    β”œβ”€β”€ .next
    |
    β”œβ”€ app
    |   └── api
    |       β”œβ”€β”€ hello
    |       |   └──route.ts
    |       |
    |       β”œβ”€β”€ favicon.ico
    |       β”œβ”€β”€ globals.css
    |       β”œβ”€β”€ layout.tsx
    |       β”œβ”€β”€ page.module.css
    |       └── page.tsx
    |
    β”œβ”€β”€ public
    |   β”œβ”€β”€ next.svg
    |   β”œβ”€β”€ thirteen.svg
    |   └── thirteen.svg
    |
    β”œβ”€β”€ node-modules
    |
    β”œβ”€β”€ .eslintrc.json
    β”œβ”€β”€ .gitignore
    β”œβ”€β”€ next.config.js
    β”œβ”€β”€ next-env.d.ts
    β”œβ”€β”€ package.json
    β”œβ”€β”€ package-lock.json
    β”œβ”€β”€ Readme.md
    └── tsconfig.json
🟨

πŸš€ Installation

1️⃣ Install Project Dependencies:

npm install

🏭 Development

2️⃣ Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

✏️ Editing

3️⃣ Start editing the page by modifying app/page.tsx. The page auto-updates instantly as you edit the file.

πŸŽ“ Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

πŸŽ† Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Next.js 13 Tutorial for Beginners - part 1

https://creativelightbox.net/getting-started-with-nextjs-a-comprehensive-guide-to-building-your-first-application


Languages

Language:CSS 66.8%Language:TypeScript 31.9%Language:JavaScript 1.3%