←All projects
Transport Issue Logger preview

2023 · 14 months

Transport Issue Logger

A web application built with Next.js and PrimeReact for logging and managing various operational issues within a transport company, featuring a highly customizable interface for defining issue types and details.

Year
2023
Duration
14 months
Built with
JavaScript

The project

The story

The Transport Issue Logger is a specialized web application developed using Next.js, designed to streamline the process of reporting and tracking operational incidents within a transportation firm. It provides a centralized platform for employees to log diverse issues such as damaged cargo, lost shipments, product contamination, vehicle incidents, or delays. A key strength of the application is its user-configurable interface; administrators can customize dropdown values and potentially other form fields used during ticket creation (e.g., defining specific issue types, severity levels, departments involved), tailoring the system precisely to the company's operational needs and terminology. This ensures relevant data capture and facilitates better reporting and analysis.

What it does

Key features

  1. 01Comprehensive issue logging system for diverse transport-related incidents
  2. 02Modern web application architecture using Next.js
  3. 03Rich and consistent user interface powered by the PrimeReact component library
  4. 04Highly Customizable UI: Allows administrators to define and manage options for dropdown lists (e.g., issue types, locations, reasons) used in issue reporting forms
  5. 05Centralized platform for recording and potentially tracking issue details (scope might include status updates, assignments etc.)
  6. 06Likely includes user authentication and role-based access control (for customization vs. logging)

Behind the scenes

Challenges

Architecting and implementing the dynamic UI customization feature, allowing administrators to modify form options directly through the interface without requiring code changes

How I solved it

Implemented backend functionality (likely via Next.js API routes or a dedicated API service) to manage CRUD (Create, Read, Update, Delete) operations for the customizable UI elements (e.g., dropdown options). Stored these configurations in a database, possibly using flexible structures like JSON fields or related tables.

Designing a flexible backend data structure (database schema) capable of storing both the standard issue data and the user-defined configurations for form fields

How I solved it

Developed frontend components that fetch the relevant UI configuration data before rendering the issue logging forms. Used this data to dynamically populate dropdowns and potentially alter form structures using conditional rendering in React.

Developing the frontend logic to dynamically fetch these configurations and render the issue reporting forms accordingly

How I solved it

Leveraged the extensive props and APIs provided by PrimeReact components (like Dropdown, InputText, etc.) to bind them to the dynamic data structures and configurations

Ensuring data integrity and usability when forms can be altered by administrators

How I solved it

Established robust data validation on both client and server sides to handle the variable nature of the forms and ensure consistent data capture. Created an administrative interface for managing the customizations intuitively

Next project

Road Work Planner →

← Cargo InspectorAll projects