Skip to content
/ teach-next-js Public template

This repository contains the code I have developed to teach Next.js with my blog GreenRoots

License

Notifications You must be signed in to change notification settings

tapascript/teach-next-js

Repository files navigation

This is a Next.js project aim to teach by adding the important functionalities of Next.js and demonstrate them in the tapasScript YouTube channel.

The project also includes a JSON-Server to demonstrate Server Actions.

Getting Started

First, run the Next.js project in the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

You can start editing the page by modifying app/page.js. The page auto-updates as you edit the file.

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

Run the JSON Server

Open a Terminal and,

  • Browse to the src/server folder.
  • Run npm install -g json-server
  • yarn install
  • Run the server locally with the following command:
json-server --watch data/todos.json --port 3001
  • The server will run on http://localhost:3001/tasks

Learn More

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

Releases

No releases published

Sponsor this project

 

Packages

No packages published