Start at full speed with this Next.js Template ! Updated version 1.0.1
Installation · Frameworks + Features · Author
Clone & create this repo locally with the following command:
npx create-next-app my-saas-project --example "https://github.com/JetQin/next-devops"
Or, deploy with Vercel:
pnpm install
.env.example
to .env.local
and update the variables.cp .env.example .env.local
npx auth secrets
pnpm run dev
You can use the command pnpm run remove-content
in your terminal to remove specific parts of your project. This command supports the following parameters:
pnpm run remove-content
without specifying parameters (--blog
or --docs
). This ensures that all associated documents are properly removed, as some documents may not be deleted/updated if you remove "blog" after "docs" or vice versa.pnpm run remove-content
pnpm run remove-content --blog
pnpm run remove-content --docs
[!NOTE]
I use npm-check-updates package for update this project.Use this command for update your project:
ncu -i --format group
next/font
– Optimize custom fonts and remove external network requests for improved performanceImageResponse
– Generate dynamic Open Graph images at the edgeuseIntersectionObserver
– React hook to observe when an element enters or leaves the viewportuseLocalStorage
– Persist data in the browser's local storageuseScroll
– React hook to observe scroll position (example)nFormatter
– Format numbers with suffixes like 1.2k
or 1.2M
capitalize
– Capitalize the first letter of a stringtruncate
– Truncate a string to a specified lengthuse-debounce
– Debounce a function call / state updateThis project is based on Next. Developed by @jetqin in 2024.
Thanks to @miickasmt which is the original author of this project.