Skip to content
Projets

À propos

This is a bare-bones Next.js template, powered by Tailwind CSS v4, TypeScript, and OpenNext (optional).

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
-1
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Next.js starter template

Top language License Contribution

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-name with 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.

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! 🚀

Deploy with Vercel Deploy to Cloudflare Workers

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 in apps/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.

Explorer des projets similaires

Chargement…