Coder Social home page Coder Social logo

codelytv / typescript-ddd-skeleton Goto Github PK

View Code? Open in Web Editor NEW
436.0 15.0 52.0 251 KB

🔷✨ TypeScript DDD Skeleton: Bootstrap your new TypeScript project applying Hexagonal Architecture and Domain-Driven Design patterns

Home Page: https://pro.codely.tv/library/ddd-typescript/375662/about/

Dockerfile 0.87% Makefile 7.10% JavaScript 7.03% TypeScript 78.19% Gherkin 6.81%
typescript nodejs node ts course cqrs mongodb ddd postgresql domain-driven-design

typescript-ddd-skeleton's Introduction

TypeScript basic skeleton

For now, you have all the code example available in this other repository: https://github.com/CodelyTV/typescript-ddd-example

The idea is that we'll move the basic parts (folder structure and bare minimum code to serve as skeleton) to this repository (typescript-ddd-skeleton) once we completely finish the typescript-ddd-example code. Current progress: ~95%

typescript-ddd-skeleton's People

Contributors

javiercane avatar nuria-fl avatar rgomezcasas avatar vilasmaciel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

typescript-ddd-skeleton's Issues

Dependencias de Uuid y Uuid validator

Buenas, estoy siguiendo el curso de DDD en typescript, pero me quedé sin poder continuear el capitulo donde hablan de modelado de dominio, especificamente el apartado de "Refactoring a UUIDs como identificadores", y al querer agregarles las dependencias me salta este error npm i @types/uuid @types/uuid-validate
image
@JavierCane @vilasmaciel @rafix

Error al lanzar dev:mooc:backend

En mi caso estoy utilizando Bun, pero es igual con node. Al intentar levantar el servidor salta este error:

➤  bun dev:mooc:backend    
$ NODE_ENV=dev bun run ts-node-dev --ignore-watch node_modules ./src/apps/mooc/backend/start.ts
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (=)
[INFO] 15:32:44 ts-node-dev ver. 1.1.8 (using ts-node ver. 9.1.1, typescript ver. 4.8.4)
Compilation error in /path/to/typescript-ddd-skeleton/src/apps/mooc/backend/start.ts
Error: Debug Failure. False expression: Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.
    at Object.<anonymous> (/path/to/typescript-ddd-skeleton/src/apps/mooc/backend/start.ts:1:7)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Module._compile (/path/to/typescript-ddd-skeleton/node_modules/source-map-support/source-map-support.js:568:25)
    at Module.m._compile (/tmp/ts-node-dev-hook-22129939898005357.js:69:33)
    at Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
    at require.extensions.<computed> (/tmp/ts-node-dev-hook-22129939898005357.js:71:20)
    at Object.nodeDevHook [as .ts] (/path/to/typescript-ddd-skeleton/node_modules/ts-node-dev/lib/hook.js:63:13)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
[ERROR] 15:32:44 Error: Debug Failure. False expression: Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.

Por lo visto es un problema de ts-node.

Se puede solucionar aumentando las siguientes versiones:

{
    "ts-node": "^10.9.1",
    "ts-node-dev": "^2.0.0",
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.