This project is a simple web application designed to help inspectors at Sharabati Denim manufacturing company count defects in denim fabric. The counted defects can then be manually entered into the inspection module of the Sharabati Denim ERP system.
Check out the live demo of the calculator: Defect Counter Live Demo
- Increment Defect Count: Easily increment the count of defects with a single button click.
- Save and Reset: Save the current count and reset the counter for new inspections.
- View Previous Entries: Display a list of previously recorded counts for reference.
- Open the Application: Load the web application in a browser.
- Count Defects:
- Click the "Increment" button each time a defect is found.
- The current count will be displayed prominently on the screen.
- Save Count:
- Once the inspection of a section of fabric is complete, click the "Save" button.
- The current count will be saved and displayed in the "Previous entries" section.
- The counter will reset to 0 for the next section of fabric.
- Record Data:
- Manually enter the saved counts into the inspection module of the Sharabati Denim ERP system.
To set up the project locally, follow these steps:
- Clone the Repository:
git clone https://github.com/sharabati-denim/defect-counter.git
- Navigate to the Project Directory:
cd defect-counter
- Open
index.html
in a Browser:- Double-click on
index.html
or open it manually in your preferred web browser.
- Double-click on
index.html
: The main HTML file containing the structure of the web application.index.css
: The CSS file containing styles for the web application.index.js
: The JavaScript file containing the logic for counting and saving defects.
Contributions are welcome! Please follow these steps to contribute:
- Fork the Repository
- Create a New Branch:
git checkout -b feature/your-feature-name
- Commit Your Changes:
git commit -m 'Add some feature'
- Push to the Branch:
git push origin feature/your-feature-name
- Create a Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or feedback, please contact the IT department at Sharabati Denim.