/web-app

Primary LanguageJavaScriptMIT LicenseMIT

Prices Crawler - Web App

GitHub package.json version GitHub issues Website

Prices Crawler Banner

💻 Description

The main goal of this project is to enable prices-crawler-content-base data consumption and visualization.

🕹️ Getting Started

  1. Create a file with the name .env
  2. Paste the following content of the created file
VITE_API_URL=https://prices-crawler-content-example.herokuapp.com
VITE_CATALOGS_JSON=[{"label":"Example","value":"local.example","selected":true}]

These instructions will get you a copy of the project up and running on your local and production machine.

📁 Requirements

You will need node installed globally on your machine.

name >=
node 16.17.0

Installation and Setup Instructions

⚠️ Using Yarn Package Manager is recommended over npm.

Install dependencies

yarn

To run project in DEV

yarn start

Create a production build

yarn build

Builds the app for production to the dist folder.


Environment Variables

# Name Type Description Default
1 VITE_EMAIL String Email -
2 VITE_API_URL String Content API url -
3 VITE_CATALOGS_JSON JSON String JSON with catalogs data -

Example:

VITE_CATALOGS_JSON=[{"label":"Demo Catalog","value":"local.demo","selected":true}]