Database Design for CSR Platform

The Purpose Platform, designed to help companies manage and promote Corporate Social Responsibility (CSR) initiatives, sought to create a comprehensive system for tracking employee participation in CSR activities such as volunteering, donations, and more. The platform required an advanced database capable of handling data from multiple sources, including external charity and institutional databases, while allowing companies to add and manage their CSR initiatives.

bg
Database Design for CSR Platform

Our team was tasked with designing and implementing this complex system. Key challenges included structuring the database for diverse types of events and organizations, ensuring fast and efficient search functionality, and integrating external systems like the "Givinga" online payment platform. The system's complexity and the project's scope led to a development timeline of approximately six months.

Database Design

  • Objective: Develop a flexible and scalable database to store and manage diverse CSR activities, employee participation data, and external charity integrations.
  • Challenges: the system needed to accommodate various CSR events, such as volunteering activities, donation campaigns, and charity partnerships, each with unique attributes; data had to be synced with external charity databases, ensuring up-to-date and accurate information; the database structure needed to allow users to quickly search and filter CSR activities based on categories, dates, employee participation levels, and types of charities.
  • Structure: tables were created for CSR initiatives, companies, employees, external institutions, event types, donation amounts, and participation records; relationships were defined using foreign keys and indexed for fast lookups, enabling complex queries like tracking an individual employee’s involvement across multiple CSR initiatives; data integrity constraints and validation mechanisms ensured that only legitimate and authorized CSR activities were recorded in the system.

Employee Participation Tracking

  • Objective: Enable the platform to track employee participation in CSR activities, allowing companies to measure engagement and impact.
  • Key Features: each employee's contributions, such as volunteering hours or donations, were recorded in the database and linked to specific events or charities; companies could view detailed reports showing overall participation, impact metrics (e.g., hours volunteered, amount donated), and individual performance; employee data was managed with strict privacy protocols, ensuring that personal information and donation amounts were handled securely.

CSR Initiative Management for Companies

  • Objective: Provide a user-friendly interface for companies to create, manage, and promote their CSR initiatives.
  • Key Features: companies could easily add CSR events and campaigns to the platform, complete with descriptions, dates, and objectives; the system generated tailored reports for each company, showing participation levels, impact statistics, and event outcomes; integrated communication features allowed companies to notify employees of new CSR opportunities and send reminders for upcoming events.

Integration with External Charity Databases

  • Objective: Integrate data from external institutions and charity organizations to enrich the platform with various CSR opportunities.
  • Challenges: regular synchronization with external databases was essential to ensure up-to-date information on available volunteering opportunities and charity programs; the system had to support various data formats and APIs from external institutions, making the integration process both technical and nuanced.
  • Implementation: a series of API connections were established with popular charity databases to pull in events and donation opportunities, ensuring a seamless flow of information.

Integration with Givinga Payment System

  • Objective: Integrate the online payment system "Givinga" to handle charitable donations directly through the platform.
  • Simplified Integration: Compared to the database's complexity, the Givinga payment integration was straightforward. The platform allowed employees to donate directly to selected charities, and Givinga processed the payments securely and efficiently.
  • Tracking and Reporting: The platform linked donation amounts to employee records, enabling clear reporting for the individual employee and the company.

Challenges and Solutions

  • Handling Diverse Data Types: One significant challenge was designing a flexible data structure capable of supporting different types of CSR activities and external charity data. The solution involved modular database design, where each CSR activity type (volunteering, donations, etc.) was treated as an individual entity. Yet, all are tied to a central "initiative" table for reporting purposes.
  • Search Efficiency: The system needed to support fast and complex searches across multiple CSR initiatives, charities, and employee records. We implemented indexed queries and a caching mechanism for frequently accessed data to ensure high performance, even as the database grew.
  • External Data Integration: Syncing with external charity databases introduced data compatibility issues. Our approach involved building a standardized API layer to mediate between the platform’s internal data format and various external data structures, ensuring smooth data imports and updates.

Outcome

The project was completed over six months, delivering a powerful CSR management platform that allows companies to effectively track employee participation, manage their CSR initiatives, and integrate with a wide range of external charities. The database’s flexible structure enabled efficient data retrieval while supporting complex reporting requirements.

Integrating the "Givinga" payment system provided a smooth donation experience for employees, allowing for direct charity contributions. Overall, the project greatly enhanced The Purpose Platform’s capabilities, providing a scalable, secure, and feature-rich solution for CSR management.


testimonials

What our clients says

Throughout his tenure, Grzegorz made significant contributions to numerous projects for our clients. His profound expertise and understanding of backend technologies greatly benefited our team.

Grzegorz consistently demonstrated readiness to address clients' questions and concerns, alongside his remarkable ability to resolve any challenges encountered during the development process, even under pressing deadlines. His commitment to problem-solving not only enhanced our operational efficiency but also fortified trust-based relationships with our clients. These qualities made him a valuable member of the team.

Grzegorz's technical skills, combined with his dedication to client satisfaction, make him a standout professional.

Mateusz Kupczyk
Mateusz Kupczyk

CEO @ Brival Sp. z o.o.