Skip to content

hchiam/learning-nextjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Learning Next.js

Just one of the things I'm learning. https://github.com/hchiam/learning

Server React apps/sites faster on the web by rendering them on the server (like SSR), while still being interactive, and being crawlable for SEO. Folders and files map out the URL routes. SSG (build and cache a small static site), SSR (serve latest), ISR (regenerate page with min time interval).

https://www.youtube.com/watch?v=Sklc_fQBmcs

Interactive beginner tutorial with quizzes: https://nextjs.org/learn

https://github.com/fireship-io/nextjs-basics

From scratch

npx create-next-app my-app
cd my-app
npm run dev # or: yarn dev

Then open http://localhost:3000

Or my-app, try opening http://localhost:3000/hello or http://localhost:3000/cars/1234

The /api routes are just for server/BackEnd-only or API usage.

Another initialization option: npx create-next-app nextjs-blog --use-npm --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter"

React notes

https://github.com/hchiam/learning-reactjs

About

Learning Next.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published