Please visit my Linkedin to say thanks :grin: remember it helps me a lot โฅ
Make sure your development environment meets the following requirements:
- Node.js 16.8 or later.
- MacOS, Windows (including WSL), and Linux are supported.
Note: While the pages directory requires Node.js v14 or later, the app directory requires Node v16.8.0 or later.
Now you can create new repositories based on this project by clicking on the "Use this template" button at the top of this repository page or by clicking here.
- Give your new repository a name and description.
- Choose the owner for the new repository.
- Click "Create repository from template".
Once you have created your new repository from the template, you can clone it to your local machine using the following steps:
- Copy the URL of your new repository.
- Open your terminal or Git Bash.
- Navigate to the directory where you want to clone the repository.
- Run the following command: git clone (replace with the URL you copied in step 1).
- Press enter and the repository will be cloned to your local machine.
That's it! You now have a local copy of the repository and can start working on it.
First, install all the dependencies:
npm install
# or
yarn install
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts
.
The pages/api
directory is 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:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository
To learn about tailwind you can checkout Tailwind documentation.
If you need to learn more about typescript don't forget to visit their documentation
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out Next.js deployment documentation for more details.