•5 min read•By Bryan Wang
Getting Started with Next.js
Next.js is a powerful React framework that makes building web applications easier and faster.
Why Next.js?
Next.js provides:
Installation
Start by creating a new Next.js project:
```bash
npx create-next-app@latest my-app
cd my-app
npm run dev
```
File Structure
Your Next.js project structure will look like:
```
my-app/
├── app/
│ ├── page.tsx
│ ├── layout.tsx
│ └── globals.css
├── public/
├── package.json
└── tsconfig.json
```
The `app/` directory is where your pages and routes live. Each folder with a `page.tsx` becomes a route.
Next Steps
Now you're ready to start building. Explore the Next.js documentation and start creating amazing applications!