Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Avoid any configuration headache and create any typescript ES-module-based app following the best architectural and design practices by applying DDD. This template contains only the bare minimum necessary for creating a complex business logic app.

NotificationsYou must be signed in to change notification settings

AnderGI/create-typescript-app

Repository files navigation

A modern TypeScript monorepo template for building DDD-first projects using ESM, Turbo, and strict tooling.

📦 Overview

This project template provides a structured and scalable starting point for TypeScript applications based on:

  • ES Modules usingmodule: nodenext to natively support ESModules inside NodeJS environment
  • Domain-Driven Design (DDD) principles
  • Monorepo support viapnpm workspaces andturborepo
  • ES Module supported development setup withtsx,vitest, andtypescript-eslint

🧱 Project Structure

create-ts-ddd-esm/             # root path├── src/                       # all source code will be written here│   ├── apps/                  # Entrypoints for the different applications (controllers, event subscribers, etc)│   ├── contexts/              # Bounded contexts. Source code with as few third-party dependencies as possible│   └── libraries/             # Foder for possible npm libraries├── tests/                    # Tests. Unit and intration tests. Directory structure organized by replicating src ├── dist/                     # Build output├── tsconfig.base.json        # Shared TypeScript config├── tsconfig.json             # Root TS config with references├── turbo.json                # Turborepo build pipeline├── pnpm-workspace.yaml       # pnpm workspace packages└── README.md                 # Templates README

👀 TO TAKE INTO ACCOUNT

Native Node.js integrations will be favoured over third-party libraries. This ensures a robust template that is less susceptible to breaking changes from third parties.

📚 TODOS

  • Build a simple use case following outside-in development as a code based example
  • Build an npm library for creating this structurenpx create-typescript-app

👷 Get Started

📄 License

MIT


Start building high-quality, scalable TypeScript projects without wasting time setting up the basics. 🚀

About

Avoid any configuration headache and create any typescript ES-module-based app following the best architectural and design practices by applying DDD. This template contains only the bare minimum necessary for creating a complex business logic app.

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp