Skip to content
/ next-js-template Public template

Blank Nextjs project template. Includes TS, Tailwind, Eslint, Million lint, Bun, some pre installed components (shadcn) and Docker config

Notifications You must be signed in to change notification settings

TomasDmArg/next-js-template

Repository files navigation

Next.js Boilerplate: Your Journey Starts Here 🚀

Welcome, traveler, to a well-trodden path for starting your next web adventure. This isn't just a blank slate; it's a carefully prepared basecamp 🏕️, equipped with modern tools and sensible defaults, designed to let you focus on building your unique application, not wrestling with setup.

Think of this boilerplate as a solid foundation built with:

  • Discipline: 🧐 Pre-configured linting, formatting, and type-checking.
  • Efficiency: ⚡ Modern tooling like Next.js, Bun, and Tailwind CSS.
  • Structure: 🏗️ Sensible project layout and community-standard components.
  • Guidance: 🧭 A comprehensive set of documentation to keep everyone on the same page.

A boring codebase doesn't make a bored developer, on the contrary, it frees developers up to think about important stuff...

The Toolkit: What's in the Bag? 🎒

We've packed the essentials so you don't have to:

  • Next.js: The battle-tested React framework ⚛️.
  • TypeScript: For catching errors before they happen 🔒.
  • Tailwind CSS: Utility-first styling that stays out of your way 🎨.
  • shadcn/ui: Beautiful, accessible components you can own ✨.
  • HugeIcons: Beautiful, customizable icons for your UI 🎭.
  • Framer Motion: Powerful animation library for React 🌊.
  • ESLint & Prettier: The tireless guardians of code style and quality 🧹.
  • Million.js: Linting hints for performance gains 🏎️.
  • Bun: The speedy all-in-one toolkit 🐇.
  • Docker: Containerization for consistent environments 🐳.
  • The Handbook (.docs folder): Our collected wisdom on how we build things 📚.

The Handbook: Essential Reading for the Trail 🗺️

Before you venture forth, familiarize yourself with the local customs and survival guides. These documents ensure we all navigate the codebase effectively and consistently.

Setting Up Camp: Getting Started ⛺

Ready to pitch your tent?

  1. Claim the Land: Clone this repository. 🗺️
    git clone https://github.com/TomasDmArg/next-js-template
    cd next-js-template
  2. Gather Supplies: Install dependencies. 🎒
    bun i
  3. Light the Fire: Start the development server. 🔥
    bun run dev
  4. Scout the Area: Open http://localhost:3000 in your browser. 👀

Containerized Expeditions: Docker 🐳

For those who prefer their environments neatly packed:

  1. Build the Vessel: 🛠️
    docker build -t nextjs-template .
  2. Set Sail:
    docker run -p 3000:3000 nextjs-template

Joining the Caravan: Contributing 🧑‍🤝‍🧑

New ideas and improvements are always welcome. Before you chart a new course, please consult the Contributing Guidelines.

Versión en Español 🇪🇸

¿Preferís leer la documentación en español? Tenemos una versión completa en español disponible en la carpeta .docs/es.

About

Blank Nextjs project template. Includes TS, Tailwind, Eslint, Million lint, Bun, some pre installed components (shadcn) and Docker config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages