🇳🇵 Nepal Entity Service

Open Source, open data, and open API for Nepali public entities

Implementation Plan - Complete V2 Rewrite (TDD Approach)

TDD METHODOLOGY: All implementation tasks follow Red-Green-Refactor. Write failing tests first (Red), implement minimal code to pass (Green), then refactor for quality (Refactor).

Another note: We use poetry for venv-based development.

Phase 0: Project Setup

Phase 1: Cultural and Multilingual Foundation

Phase 2: Database Layer Implementation (TDD)

Phase 3: Service Layer Architecture (TDD)

Phase 4: API Layer Implementation (TDD)

Phase 5: CLI and Tooling (TDD)

Phase 6: Data Maintainer Interface

Phase 7: Advanced Features

Phase 8: Testing and Quality Assurance

Phase 9: Documentation and Polish


Summary of Remaining Work

High Priority (Core Functionality)

  1. CLI Scraping Commands (8.5) - Enable users to scrape data from external sources via CLI
  2. CLI Data Management Commands (8.6) - Provide data import/export and validation tools
  3. End-to-End Testing (12.1-12.4) - Ensure system reliability with comprehensive workflow tests

Medium Priority (Enhanced Features)

  1. CLI Analytics Commands (8.7) - Generate reports and visualizations for data analysis
  2. Documentation Updates (13.1-13.4) - Improve user guides and deployment documentation

Implementation Notes

Testing Strategy