This is a Next.js project bootstrapped with create-next-app
.
Next.js is a full-stack framework built on top of React. React gives you functions written in JSX to build UI components. Next.js does everything else for you!
This Next.js app is deployed on Vercel.
Checkout the Next.js deployment docs.
yarn install
yarn next dev
control + C to close the server on MAC
git branch new-branch-name
git checkout new-branch-name
git add .
git commit -m "commit message"
git push --set-upstream origin new-branch-name
Add a pages/api
directory
It will be mapped to /api/*
.
Files in this directory are treated as API routes instead of React pages.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources: