Skip to content

rt4x/FactoryAlloyBuilder

Repository files navigation

Description

Dynamic web-application that solves concrete domain problem. Proposes optimal solution to the customer requirements if such exist.

Quick demo of the project

2025-09-08.11-56-52.1.1.mov

Problem that is solved by that web-application

Suppose we have a set different alloys. Each have their own price and percent of metal inside. We can mix alloys and we need to create a new one, that will follow created constraints and you should make it as much cheaper as possible.

What cool features and concepts in that project?

  • Unit testing of algorithm to allow quick refactoring and ensure that algorithm work as expected.
  • Conversion of factory alloy problem into linear problem.
  • Using custom number type (BigNumberM) for algorithm simplicity.
  • Memoized frontend components to boost performance.
  • Representing linear programming system with models in the backend.

What can be done better?

  • Some parts of api could be further improved and refactored.
  • Probably we could use paraller programming features, but for small systems that is not optimal.

What outcomes from that project?

  • Simplex method algorithm and possible applications.
  • Boosted implementation skills.
  • Learned how unit testing could help during development.
  • How memoization of components in react work, how to separate state and view and make it more performant.

Stack for the API

  • FluentValidation
  • ASP.NET Core with minimal api
  • NUnit

Stack for the Web-Application

  • React + TypeScript + Vite
  • Redux Toolkit
  • RxJs
  • Redux-Observable
  • MUI

Releases

No releases published

Packages

No packages published

Languages