Skip to content

tahirbaboci/web-crawler

Repository files navigation

Nest Logo

isarbits Logo

Description

This is a coding challange given by isarbits for Software Developer position. The topic was to build a crawler, which extracts products information from the the two following sites and stores found data in a normalized form:

Installation

$ npm install
$ npm install x-ray

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# incremental rebuild (webpack)
$ npm run webpack
$ npm run start:hmr

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Solution

To get the Products from gefa:

1- Get product links: http://localhost:3000/product/GEFAProdlinks
2- Get all product's information : http://localhost:3000/product/GEFAProdInfos

To get the Products from Samson:

1- Get category links: http://localhost:3000/product/SamsonCategoryLinks
2- Get all product's links : http://localhost:3000/product/SamsonProdLinks
3- Get all Product's Information : http://localhost:3000/product/SamsonProdInfo

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published