This project was created for solutioning the Water Bucket challenge
- Typescript - strongly typed programming language that builds on JavaScript
- Nodejs - Javascript runtime
- Jest - Test Framework
- Express - minimalist web framework for node
By default the server will start at port 5000, to overwrite this setting, you can declare a new value as shown in the example bellow
EXPORT PORT=<PORT>
npm install
npm run test
npm run build
npm run start
after running the server, you can check the openApi specifications at <localhost>/api/docs
{
"bucketX": 3, // bucket x capacity
"bucketY": 5, // bucket y capacity
"amountWantedZ": 4 // amount to be measured
}