riipandi/next-start
About
This is a bare-bones Next.js template, powered by Tailwind CSS v4, TypeScript, and OpenNext (optional).
Web & App DevelopmentMeasured star growth
- in 24h
- -1
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalNext.js starter template
Introduction
A minimal Next.js starter with Tailwind CSS v4 and TypeScript. You can deploy this project to Cloudflare Workers as a fast and scalable hosting alternative to Vercel by enabling the OpenNext feature. This bare-bones Next.js template provides a solid foundation for building modern web applications with ease.
Quick Start
Installation
Using tiged (recomended):
pnpm dlx tiged riipandi/next-start myapp-name
Using create-next-app with pnpm:
pnpm create next-app@latest myapp-name --use-pnpm -e https://github.com/riipandi/next-start
Using create-next-app with npm:
npx create-next-app myapp-name --use-npm -e https://github.com/riipandi/next-start
Don't forget to change
myapp-namewith your real application name.
Up and Running
| Task | NPM | Yarn | PNPM |
|---|---|---|---|
| Install dependencies | npm install |
yarn |
pnpm install |
| Serve with hot reload | npm run dev |
yarn dev |
pnpm dev |
| Build for production | npm run build |
yarn build |
pnpm build |
| Launch generated build | npm run start |
yarn start |
pnpm start |
Application will run at http://localhost:3000
For detailed explanation on how things work, check out Next.js docs.
- Next.js app router playground - learn more about Next.js app directory.
- Dynamic Metadata - learn more about SEO using dynamic metadata.
Deploy Your Own
You'll want to fork this repository and deploy your own Next.js website. Once you have an image generator that sparks joy, you can setup automatic GitHub deployments so that pushing to master will deploy to production! 🚀
Vercel Configuration (optional)
If you are using monorepo you will need to configure a few things:
- Settings -> General -> Root Directory :
apps/web/(assuming your app is inapps/web) - Settings -> Git -> Ignored Build Step :
git diff --quiet HEAD^ HEAD ./
Cloudflare Deployment
You need to add NODE_VERSION with value 24.23.0 on the
environment variables setting. Visit Cloudflare pages docs for more information.
For the preview branch:
NEXT_PUBLIC_BASE_URL=${CF_PAGES_URL}
Development
This project uses TypeScript for type checking, Oxlint for linting and Oxfmt
for code formatting, configured in .oxlintrc.json and
.oxfmtrc.json. It's recommended to get TypeScript
set up for your editor and install an editor plugin (like the VSCode Oxc extension)
to get auto-formatting on saving and get a really great in-editor experience with type checking
and auto-complete.
License
This project is open-sourced software licensed under the MIT license.
Copyrights in this project are retained by their contributors. See the license file for more information.
🤫 Psst! If you like my work you can support me via GitHub sponsors.
Explore related projects
Loading…