JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q98504F
  • License ISC

Scaffold a Node.js TypeScript backend with best practices

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-node-backend-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    create-node-backend-ts

    A CLI tool to scaffold a complete Node.js + TypeScript backend with industry best practices.

    Generate a ready-to-use backend with:

    • Express
    • TypeScript
    • MongoDB (Mongoose)
    • Logging (Winston + Daily Rotate Logs)
    • Global Error Handler
    • Async Handler Wrapper
    • Env Configuration
    • Joi Validation
    • Route / Controller / Service structure

    Ideal for rapid backend project setup.


    🚀 Installation (No global install needed)

    Run the generator using NPX:

    npx create-node-backend-ts my-backend

    or using yarn:

    yarn create node-backend my-backend

    or using pnpm:

    pnpm dlx create-node-backend-ts my-backend

    📦 After Generating Project

    cd my-backend
    npm install
    npm run dev