Alerta de Stock is a React + TypeScript application that helps you monitor product inventory levels. Users can set custom thresholds (HIGH, NORMAL, LOW) for each product, and receive alerts whenever stock levels change.
- Add Alerts: Configure thresholds (HIGH, NORMAL, LOW) for each product.
- Edit Alerts: Adjust existing alerts at any time.
- Avoid Duplicates: The app prevents creating multiple alerts for the same product.
- Delete Alerts: Remove alerts that are no longer needed.
- Visual Indicators: Alerts are labeled with color badges indicating stock levels.
- Clone the repository
git clone https://github.com/darioalbor/alert-stock.git
- Install dependencies
or
cd alert-stock npm install
yarn
- Run the app in development mode
or
npm start
The app will open at http://localhost:3000.yarn start
- View Products: The home page displays the current alerts and their stock levels.
- Add/Configure Alert: Click “Add alert” to open the configuration modal, select a product, and set thresholds.
- Edit Alert: Click the pencil icon to modify an existing alert’s thresholds.
- Delete Alert: Click the “X” icon to remove an alert.
ALERTS |
ADD/CONFIG ALERTS |