My solution of the assignment. Written in TypeScrypt with some unit testings
Clone the project
git clone https://github.com/ZachHung/Offers_Solution.git
Go to the project directory
cd Offers_Solution
Install dependencies
npm install
Build project
npm run build
To run tests, run the following command
npm run test