Typescript Challenge for medior/senior
Build a warehouse packaging line.
Build packages based on the orders
list found on the API.
- Build complete packages of required articles
- Connect an invoice with total price & articles
- Produce a restocking list for items that will run out of stock soon
- Throw helpful warnings when orders are unable to be executed
- 💥BONUS💥: unit test your code with
jest
- Solution must be in Typescript
- You can make use of the powerful JS/TS ecosystem
- No need to build an interface, output in console is fine
- Fork this repo, do your thing, and push to your public Github repo.
Run npm install
.
The data you need is provided via API. Run locally with npm run serve
.
Your solution should be runnable with npm run start
.
Run tests with npm run test
.