/nest-server

πŸš€ probably the best scaffolding for nest.js server-side development

Primary LanguageTypeScriptBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Nest-Server

πŸš€ probably the best scaffolding for nest.js server-side development

Docs

English Docs | δΈ­ζ–‡ζ–‡ζ‘£

Architecture diagram

architecture diagram

Structure

  • src/
    • common/
      • types/ (or .ts)
      • interfaces/ (or .ts)
      • constants/ (or .ts)
    • configs/
      • base.ts
      • common.ts
      • config.*.ts
      • index.ts
    • entities/
      • base.ts
      • index.ts
      • YOUR ENTITY.ts
    • lib/
      • database.ts
      • logger.ts
      • redis.ts
      • index.ts
    • modules/
      • index.ts
      • YOUR MODULE/
        • controller/ (or .ts)
        • service/ (or .ts)
        • dao/ (or .ts)
        • dto/ (or .ts)
        • module.ts
        • index.ts
    • server.ts
    • main.ts