This is a code lab to test the most optimal solution to fetch a given number of urls limited by a given number of how many urls should be fetched concurrently.
- NodeJs,
- Typescript,
- Node Fetch,
To get a local copy up and running follow these simple example steps.
- Node v16
npm install
Without the max number of concurrently requests (defaults to 5)
npm run start
Informing the max number of concurrently requests:
npm run start 10
Unit tests:
npm run test
integrations tests (triggers several external requests):
npm run test:integration
👤 Sergio Torres
- Github: @Torres-ssf
- Linkedin: torres-ssf
This project is MIT licensed.