Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2025-26 Coding Exercises Solution

This repository contains the TypeScript solution for the coding assignment dated October 2, 2025. It includes two main exercises as specified in the instructions document.

Project Structure

The project is organized following global best practices, with a clear separation of concerns.

  • /src: Contains all the TypeScript source code.
    • /exercises: Code for the two main exercises.
      • /exercise1-design-patterns: Implementations of the six design patterns with creative use cases.
        • /behavioral: Contains Behavioral patterns (Observer, Command).
        • /creational: Contains Creational patterns (Singleton, Factory).
        • /structural: Contains Structural patterns (Adapter, Decorator).
      • /exercise2-mini-project: Implementation of the "Astronaut Daily Schedule Organizer" mini-project.
        • /core: Core business logic (ScheduleManager, Task).
        • /patterns: Design patterns applied specifically to this exercise (TaskFactory, ConflictObserver).
        • /utils: Utility functions and classes (Logger, custom errors).
    • index.ts: The main entry point of the application that runs the console interface.
  • package.json: Project dependencies and scripts.
  • tsconfig.json: TypeScript compiler configuration.

Setup and Execution

Prerequisites

  • Node.js (v18 or later)
  • TypeScript (npm install -g typescript)

Steps to Run

  1. Clone the repository:

    git clone https://github.com/4ryaS/ei_assignment_25
    cd ei_assignment_25
  2. Install dependencies: This project requires readline-sync for easier console input handling.

    npm install
  3. Compile TypeScript:

    npm run build
  4. Run the application:

    npm start

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages