Skip to content

PRS Developer Documentation

Welcome to the comprehensive developer documentation for the PRS (Purchase Requisition System). This documentation is designed to help developers understand the system architecture, business rules, and development guidelines.

Documentation Sections

System Guide

The System Guide provides a comprehensive overview of the PRS system, including:

  • Architecture: System architecture, database schema, and API design
  • Business Rules: Detailed business rules for each domain area
  • Development Guide: Guidelines for development, coding standards, and best practices
  • Workflows: Detailed workflows for key business processes
  • Templates: Code templates for common components

How-To Guides

Practical guides for common development tasks:

  • Implementing new features
  • API documentation
  • Working with base classes
  • Error handling
  • Understanding the layered architecture
  • Middleware composition
  • Backend structured logging with PLG stack integration
  • Frontend structured logging for production

Refactoring Guide

Guidelines for refactoring the codebase using Domain-Driven Design principles:

  • Current architecture analysis
  • Bounded contexts
  • Domain model design
  • Repository pattern implementation
  • Application services
  • Domain events
  • Implementation strategies

Enhancement

Planned enhancements and code quality improvements.

Getting Started

If you're new to the project, we recommend starting with the System Guide to understand the overall architecture and business rules, followed by the Development Guide to set up your development environment.