Skip to content
프로젝트

lifefloating/nestjs-project-template

GitHub에서 보기

소개

NestJS Bun project template, Boilerplate. Auth, Better-Auth, Prisma, MongoDB, Pino, Docker.

시스템 및 인프라

이 수치를 측정하는 방법

What you can do

  • Architecture: Modular architecture with proper separation of concerns
  • Configuration: Environment management with @nestjs/config and Joi validation
  • Exception Handling: Global exception handling and request/response transformation
  • Database: MongoDB integration with Prisma ORM, migrations, and data seeding

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Nest JS Project Template

Nest Logo

A modern NestJS project structure with best practices using Fastify, Prisma, MongoDB, and Bun runtime. and more

Package License Node Version Bun Runtime Database

Aliyun OSS Tencent COS Amazon S3

Bun Runtime Prisma Better Auth Pino MJML Docker Stripe

Documentation

commit Doc

📋 Tech Stack

Features

  • Architecture: Modular architecture with proper separation of concerns
  • Configuration: Environment management with @nestjs/config and Joi validation
  • Exception Handling: Global exception handling and request/response transformation
  • Database: MongoDB integration with Prisma ORM, migrations, and data seeding
  • Caching: Redis integration with @nestjs/cache-manager and ioredis
  • Logging: Structured logging with Pino and pino-datadog-transport
  • Documentation: API documentation with Swagger (@nestjs/swagger)
  • Authentication:
    • Email sign-in/sign-up with Better Auth
    • Social authentication with multiple providers (Google, GitHub, Facebook, Twitter, Microsoft, LinkedIn, GitLab, Discord, Apple, etc.)
    • Enhanced security with session management and CSRF protection
  • Authorization: Role-based access control with Admin and User base roles
  • Storage: Unified cloud storage interface with multiple provider support (AWS S3, Alibaba OSS, Tencent COS)
  • Email: Templated email sending with Nodemailer and MJML
  • Internationalization: Multi-language support using nestjs-i18n
  • Payments: Stripe integration for payment processing
  • Testing: Comprehensive unit and E2E testing setup with Bun test runner
  • CI/CD: Continuous integration with GitHub Actions (with multi-platform support)
  • Performance: Optimized with Fastify and Bun runtime
  • Development: Git hooks with Husky and conventional commits
  • Containerization: Docker support for development and production

Getting Started

For installation and running instructions, please see the Installation and Running Guide.

develop plan

License

MIT

관련 프로젝트 살펴보기

불러오는 중…