Skip to content

Website for viewing prices on buckwheat from Ukrainian online stores

Notifications You must be signed in to change notification settings

arsenidze/buckwheat-int20h

 
 

Repository files navigation

buckwheat-int20h

Overview

Website for viewing prices on buckwheat from Ukrainian online stores

Prerequisites

  1. Node + npm
  2. Maven + OpenJDK
  3. Docker

Installation

npm install

Building

npm run build

Run

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

Heroku

To deploy on heroku run:

node heroku-deploy.js

Version of running up: https://tranquil-badlands-98489.herokuapp.com/

Buckwheat prices service

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:

  1. 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

  1. Run docker container:
npm run docker:start

Service available on http://localhost:PORT_TO_ACCESS_SERVICE/v1/prices/buckwheat

Usefull resources

About

Website for viewing prices on buckwheat from Ukrainian online stores

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 63.4%
  • JavaScript 24.1%
  • HTML 8.8%
  • CSS 3.2%
  • Dockerfile 0.5%