Fetches HTML content from one or more URLs and stores it in a cache (Redis), acting as a basic search engine indexer.
docker compose -f 'docker-compose.yml' up -d --buildPOST :
curl --request POST \
--url http://localhost:3000/ \
--header 'content-type: application/json' \
--data '{
"urls": [
"https://www.qwant.com/"
]
}'GET :
curl --request GET \
--url 'http://localhost:3000/?url=https://www.qwant.com/'$ npm install# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e