https://expressionengin.onrender.com/
The app was created as assignment for Crego.
This project is a web-based Expression Engine UI developed using React and Bootstrap. The main objective is to provide a user-friendly interface for managing expressions with different rule types, operators, values, and scores.
- React
- Bootstrap
- HTML
- CSS
-
Form Input: Users can input connector types (AND/OR) and add expressions with the following fields:
- Rule Type (Dropdown): Age, Credit Score,
- Account Balance
- Operator: >, <, ≥, ≤, =
- Value
- Score
-
Adding and Deleting Expressions Users can dynamically add expressions and delete them as needed.
-
Output Format The application generates and displays the expressions in the expected JSON format:
{ "rules": [ { "key": "age", "output": { "value": 60, "operator": ">=", "score": 50 } }, { "key": "age", "output": { "value": 40, "operator": ">=", "score": 100 } }, { "key": "account_balance", "output": { "value": 100000, "operator": ">=", "score": 200 } } ], "combinator": "and" }
To run this project locally, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/yash1997verma/WeatherApp.git
- Change into the project directory:
cd expression-engine-ui - Install dependencies:
npm install
- Run the application
npm start
Screenshots
-Full Screen
-Mobile