Skip to content

Project Restructuring to Monorepo Style#12

Merged
n3-rd merged 3 commits inton3-rd:mainfrom
ibrahimraimi:feat/restructure
Jan 21, 2026
Merged

Project Restructuring to Monorepo Style#12
n3-rd merged 3 commits inton3-rd:mainfrom
ibrahimraimi:feat/restructure

Conversation

@ibrahimraimi
Copy link
Collaborator

Restructure project into monorepo-style layout

Refactors the project structure to be more scalable and meaningful as we grow. It adopts a monorepo-style layout separating applications and core logic.

Key Changes:

  • Directory Structure:
    • apps/: Contains user-facing applications.
      • dashboard/: SvelteKit dashboard (moved from src/dashboard).
      • docs/: Documentation files (moved from src/docs).
      • web/: Placeholder for future landing page.
    • core/: Contains core business logic and infrastructure.
      • api/: Node.js API server (moved from root api-server.js).
      • cli/: Shell scripts management tools (moved from scripts/).
      • entrypoint.sh: Main container entrypoint.
  • Dockerfile: Updated paths to match the new structure.
  • README: Updated project structure section to reflect changes.
  • Entrypoint: Updated entrypoint.sh to work with the new paths and structure.
  • Testing Framework: Introduced a centralized tests/ directory with shell and API integration tests.

Motivation

As the project expands, a monorepo-style structure and a robust testing framework are essential for maintainability and stability. This separation allows for clearer boundaries between infrastructure, applications, and verification logic.

- Move dashboard to apps/dashboard and docs to apps/docs
- Relocate core logic to core/api and core/cli
- Update Dockerfile and entrypoint.sh for new structure
- Implement centralized tests/ directory (Shell & API)
- Export API server for integration testing
- Update README.md with project structure
@ibrahimraimi ibrahimraimi requested a review from n3-rd January 21, 2026 20:46
@ibrahimraimi ibrahimraimi self-assigned this Jan 21, 2026
@ibrahimraimi ibrahimraimi added bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request labels Jan 21, 2026
@n3-rd n3-rd merged commit f26843d into n3-rd:main Jan 21, 2026
2 checks passed
@ibrahimraimi ibrahimraimi deleted the feat/restructure branch January 21, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants