Skip to content

artemzi/olx-parser

Repository files navigation

TODO

 * olx client
 * select / change config from checkboxes
 * storage (mongo?)
 * cross-posting / mail

usage

Set variables for running it locally with:

export SERVICE_PORT="8000"

go test -v && env CGO_ENABLED=0 GOOS=linux go build -o olx-parser .
docker build -t olx-parser -f ./Dockerfile .
docker run -p 8000:8000 olx-parser

request (will be changed) for debug:

curl --header "Content-Type: application/json" \
        --request POST \
        http://0.0.0.0:8000/adverts -o response-example.json | jq .

About

to be soon...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published