- Built based on Remix FullStack Framework
- Typescript
- Remix Fullstack Framework
- Json-Rules-Engine
- Unit Test: Vitest
- CyPress: Not Yet
- Using Json Rules Engine to configure Campaign program/ Promotion / Discount
- Try apply to types: DEAL / DISCOUNT
- Change Voucher Code to Logined User information
- Define pattern to calculate price after apply promotion
- Apply type of all of objects in RuleEngine
- Go to Products page
- Select item to cart
- Go to cart page
- Apply Voucher Code = Company Name
From your terminal:
npm install
npm run dev
This starts your app in development mode, rebuilding assets on file changes.
First, build your app for production:
npm run build
Then run the app in production mode:
npm start
Now you'll need to pick a host to deploy it to.
If you're familiar with deploying node applications, the built-in Remix app server is production-ready.
Make sure to deploy the output of remix build
build/
public/build/