A web app to create and validate coupon codes
- React
- Formik
- Yup
To install and run this app locally simply follow the instructions below:
You need to have or install the following:
- Git bash
- Npm
-
Clone repo
git clone https://github.com/Shreykr/coupon-validator.git
-
Navigate to project folder
-
Run installation
npm install
-
Create a
.env
file with this template at the root of your projectREACT_APP_API_URL = http://localhost:5000/api/v1
-
Start app
npm run start
-
You can now create coupons and apply them on a cart value to test its validity.
https://coupon-validator-app.netlify.app/
Shreyas K R