Giter Club home page Giter Club logo

dddeu22-let-me-be-free-typescript's Introduction

dddeu22-let-me-be-free-typescript

This Kata is initially made for a Workshop of Domain-Driven Design Europe (DDD Europe) to explain Context Mapping Patterns used in Strategic Design of DDD. These Patterns are :

  • Shared Kernel
  • Anti-Corruption Layer (ACL)
  • Open-Host Service (OHS)
  • Separate Ways
  • Conformist
  • Customer/Supplier

In this Kata we will focus on the first 3 patterns which are Shared Kernel, ACL and OHS.

Pre-requises

To do this Kata you need following tools :

  • Your favorite IDE (mine is IntelliJ Idea)
  • node and npm
  • Jest installed globally (run this cmd npm install jest --global)
  • Git

How to run this Kata

  • Clone this project somewhere in your machine (git clone [email protected]:ksouf/dddeu22-let-me-be-free-typescript.git)
  • build the project using Npm (npm install then npm test) : You should obtain PASS with successful tests
  • Run tests to ensure that you have green ones

How to do this Kata

This Kata is splitted in 4 steps (branches step_1, step-2, step-3 and step-4). Each step contains a solution on a branche named step-x_solution where x is the number of step. You can read the readme of each step starting with step-0 and you can check the solution branch if needed. If you don't have time to finish a step in appropriated time, don't worry, you can checkout the next step which contains a possible solution.

Domain

As a Human Resource I want to find an available Recruiter According to my Candidate Availabilities “Who can test”* my Candidate.

Who can test : The Recruiter should cover all Candidate’s Skills.

Ubiquitous Language

Consultant : A technical member of the company that should match the Profile of a Candidate

Profile : Resume of the Candidate

Interview Date : The day where Consultant & Candidate meet each other to do the evaluation

Candidate : Someone who applied to passe the interview process

Interview : A structured conversation where one participant asks questions, and the other provides answers

Room : A place where the Interview will take place

Human Resource : A member of HR department who will be in charged to organize the Interview

dddeu22-let-me-be-free-typescript's People

Contributors

ksouf avatar sepehrnamdar avatar

Stargazers

Pascal Lubbers avatar

Watchers

 avatar

dddeu22-let-me-be-free-typescript's Issues

Specify node version

Hello 👋

If node version is below 16.6.0, we get an error when running test:

 FAIL  dist/src/let-me-be-free/use_case/PlanInterview.spec.js
   PlanInterview Sould  plan interview with the first recruiter who is available for the interview and can test the candidate

    TypeError: foundRecruiter.at is not a function

      34 |       throw "no recruiter is available"
      35 |     } else {
    > 36 |       return foundRecruiter.at(0)
         |                             ^
      37 |     }
      38 |   }
      39 | }

      at HRCandidate.at [as findRecruiter] (src/let-me-be-free/model/interview/HRCandidate.ts:36:29)
      at PlanInterview.findRecruiter [as scheduleInterview] (src/let-me-be-free/use_case/PlanInterview.ts:22:31)
      at Object.scheduleInterview (src/let-me-be-free/use_case/PlanInterview.spec.ts:66:37)

array.at is introduced in node 16.6.0, cf MDN.

Can I add a .nvmrc to the project or would you prefer an alternative solution?

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.