Skip to content

binlecode/example-todo-nextjs

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or if use yarn
yarn 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.

deployment

Check out our Next.js deployment documentation for more details.

docker build -t example-todo-nextjs .
# Run container
docker run -p 3000:3000 example-todo-nextjs

Note in Dockerfile the build is expected to have standalone modules, which is defined in next.config.js file.

/** @type {import('next').NextConfig} */
module.exports = {
  output: "standalone",
};

source code formatter

Prettier is used to format the source code:

npx prettier . --check
npx prettier . --write

Learn More

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

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published