Boilerthing

Next.js 14 样板(App 路由器),Next-auth (v5), Next-intl(翻译路由),Prisma ORM, Resend, Tailwind CSS, ShadcnUI & Radix UI,以及许多其他功能。「Next.js 14 Boilerplate with (App Router), Next-auth (v5), Next-intl (translated routes), Prisma ORM, Resend, Tailwind CSS, and Shadcn/UI & Radix UI, plus many other features.」

Github stars Tracking Chart

Boilerthing

Does the world need another Next.js boilerplate? Absolutely! More offerings lead to higher standards and better products. Take a look around and give it a star if you find it valuable! This will make my day 🦄!

Demo

See it in action: https://boilerthing.vercel.app

TL;DR

Free and open-source Next.js 14 Boilerplate with (App Router), Next-auth (v5), Next-intl (translated routes), Prisma ORM, Resend, Tailwind CSS, and Shadcn/UI & Radix UI, plus many other features.

Features 🌟

  • 🚀 Next.js with App Router support
  • ⚙️ Centralized app config for easy modification
  • TypeScript for type checking
  • 🔑 Next-auth v5 for flexible authentication
  • 🌐 Next-intl for translations (i18n) and translated routes
  • 🗄️ Prisma ORM for database convenience
  • 🐳 Docker Compose for easy DB setup
  • 🎨 Tailwind CSS 3.4
  • 📱 Mobile-first Design approach
  • 🖼️ ShadCN/UI and Radix for awesome UI
  • 🎓 Typewriter Effect for landing page hero section
  • 🔐 T3 Env for type-safe environment variables
  • 📧 Resend for email sending
  • 📝 React Hook Form for form handling
  • 🚔 ReCaptcha for form security
  • 📋 Zod for validation
  • 🚨 ESLint for linting
  • 🖌️ Prettier for code formatting with import sorting
  • 🛡️ Sentry for error monitoring
  • 🗂️ Absolute imports with @ prefix

Development

  1. Run postgres locally:

    docker run --name boilerthing -p 5432:5432 -d -e POSTGRES_PASSWORD=admin -e POSTGRES_USER=admin -e POSTGRES_DB=boilerthing postgres:latest
    
  2. Initialize prisma:

    npx prisma generate
    npx prisma db push
    
  3. Populate .env based on .env.example

  4. Run the development server:

    npm run dev
    

Roadmap

Your support means a lot! Give this repo some stars, and I'll speed up the feature development.

Here are some features I'm planning to integrate into Boilerthing:

  • 🚧 Test setup with Jest
  • 📊 Analytics with Posthog
  • 💵 Payments with Stripe
  • 🚀 AWS Integration
  • 📈 Admin dashboard

Contributions

I'm open to any suggestions and improvements. Everyone is welcome to contribute to this project! Feel free to open an issue if you have questions or find a bug.

License

Licensed under the MIT License, Copyright © Egor Kirpichev 2024

See LICENSE for more information.

Main metrics

Overview
Name With Ownerboilerthing/boilerthing
Primary LanguageTypeScript
Program language (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2024-05-19 18:29:47
Pushed At2024-08-06 01:09:43
Last Commit At
Release Count0
用户参与
Stargazers Count118
Watchers Count2
Fork Count14
Commits Count2
Has Issues Enabled
Issues Count2
Issue Open Count1
Pull Requests Count0
Pull Requests Open Count2
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private