Website for viewing prices on buckwheat from Ukrainian online stores
- Node + npm
- Maven + OpenJDK
- Docker
npm install
npm run build
Before running you need to get SERP_WOW_TOKEN
.
More info about this token can be found here
Run:
export SERP_WOW_TOKEN=YOUR_TOKEN
npm start
Application runs on http://localhost:5000
To run in dev mode:
npm run dev
In development mode client accessible on http://localhost:3000
To deploy on heroku
run:
node heroku-deploy.js
Version of running up: https://tranquil-badlands-98489.herokuapp.com/
Buckwheat prices service
is a service that scraps info about иuckwheat porridge from different stores using Google Content API for Shopping
To build Buckwheat prices service
run:
npm run price-service:build
To build docker
image with it run:
npm run docker:build
To run Buckwheat prices service
in docker
:
- Set environment variables:
export DOCKER_PORT=PORT_TO_ACCESS_SERVICE
export SERP_WOW_TOKEN=YOUR_TOKEN
More info about this token can be found here
- Run
docker
container:
npm run docker:start
Service available on http://localhost:PORT_TO_ACCESS_SERVICE/v1/prices/buckwheat