Construction Company Management CRM

Khalil

Khalil Bellil

🏗️ Construction Company Management CRM

Overview

This CRM system is a custom-built management application designed for construction companies. It centralizes all essential operational functions, allowing teams to streamline stock tracking, purchase order workflows, human resources, construction site management, and activity logging — all secured with a robust role-based authentication system.

Key Features

🔐 Authentication & Role Management

Secure login system with password-based authentication.
Role-based access control (RBAC).
Predefined roles: Admin, Magasinier, Chef de Chantier, Chef de Projet, Trésorier, RH, with support for custom roles.
Admin panel to manage roles and assign permissions at a granular level.

📦 Stock Management

Managed by the Magasinier.
Add, edit, and remove stock items.
Track inventory quantities, locations, units, and categories.
View movement history (in/out).
Low stock alerts to prevent shortages.

📑 Purchase Order Workflow

Created by the Chef de Chantier.
Multi-step validation process:
Chef de Projet reviews and approves/rejects.
Trésorier performs financial validation.
(Optional) Final validation by Admin.
Each validator can leave comments and receive notifications.
Orders are linked to specific construction sites.

👥 User & Role Management

Admin interface for creating, updating, and deleting users.
Assign users to roles.
Manage which modules or actions each role can access.
Password reset and account suspension capabilities.

🧑‍💼 Human Resources (HR) Management

Managed by the RH role.
Add and edit employee records.
Assign job titles, departments, and salaries.
Generate downloadable payslips.
Manage employee leave, contracts, and HR documents.

🏗️ Construction Site Management

Create and manage construction sites.
Define metadata like site name, code, location, project manager, budget, and timelines.
View active and completed sites.
Associate each purchase order with its relevant construction site.

📜 Activity Logging System

All actions are logged for transparency and auditing.
Search and filter logs by user, action type, and date.
Export logs as CSV files for reporting or compliance.

Tech Stack

Frontend: React + Next.js + TailwindCSS
Backend: Node.js
Database: PostgreSQL
Authentication: NextAuth
File Storage: Supabase
Logging: Centralized log database

Conclusion

This CRM offers an all-in-one solution tailored to the needs of construction companies, focusing on efficient team collaboration, operational visibility, and secure access control. Its modular architecture makes it flexible and scalable for evolving business needs.
Like this project

Posted Jun 18, 2025

Developed a custom CRM for construction companies with role-based access and management features.