Goflink aka flink discount checker app with city provided check and amount
Links
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