V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
coderfox

Nest.js 脚手架

  •  
  •   coderfox ·
    xfoxfu · Nov 15, 2018 · 4179 views
    This topic created in 2733 days ago, the information mentioned may be changed or developed.

    最近因为写项目反复创建 Nest 项目,而默认的生成器生成的项目并不符合我的要求,配置文件、数据库等等功能都没有添加,因此开发了一个脚手架。

    https://github.com/coderfox/nestjs-skeleton

    目前还是一个雏形,包括了数据库、日志、环境变量配置、自动格式化等功能。欢迎各位试用和提供意见。

    自带了以下包的集成:

    将来计划添加的功能有:

    • unit & integration tests
    • Docker support
    • controller & service generation
    1 replies    2018-11-15 14:18:48 +08:00
    lancegin
        1
    lancegin  
       Nov 15, 2018
    支持一波

    建议将脚手架创建的项目结构列出来,更清晰。

    另外,可以考虑加入 js-starter 支持,nest 官方仓库里面有一个 js-starter,然而 cli 却没有加入选项,这个操作有点骚。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2860 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:44 · PVG 18:44 · LAX 03:44 · JFK 06:44
    ♥ Do have faith in what you're doing.