Occupational safety and health is an essential part of the work setting and so with effective monitoring measures it has the potential to significantly enhance workers' quality of life, decrease the financial consequences of workplace incidents, and boost efficiency. However, ensuring occupational safety and health in 3rd world industries is a challenging task due to lack of regular monitoring, proper emergency response system, and awareness. Integration of Internet of Things (IoT) technology can offer new opportunities for monitoring and management of occupational safety and health risks. To this end, this paper presents an affordable IoT-based real-time occupational safety and health monitoring system that is suitable for garment industries. The proposed monitoring and emergency alert system has the capability to detect potential hazardous conditions by analyzing data gathered from five interlinked modules that continuously monitor the work environment through various sensors. To assess the effectiveness of the proposed IoT system, this study conducted individual module tests in appropriate settings and compared their performance with standard equipment readily available on the market.