Links
You can find flink codes here.
Flink api endpoint docs here.
Frontend here.
Setup
Docker
Build the image
docker build -t discount-checker .
Run the image
docker run -d –name discount-checker discount-checker
Configuration
Following environment variables exist with the default value:
PORT=3000
VITE_API_URL=””
Planing
POST /create-checker
Body:
country
city
amount
-> Checker ID
POST /submit-check
Body:
checker id
promo code