Skip to content

Implement portless local development with custom domains and align mock service startup in @apps #174

@nnoce14

Description

@nnoce14

Objective

Implement portless development in the CellixJS repo, following ShareThrift as the primary reference and ECFMG/pathways as a secondary reference. Ensure local development leverages https, portless proxy and local custom domains, and that all relevant configuration and apps are updated.

Implementation details

  • Reference portless implementation and configuration from ShareThrift, especially its monorepo apps/ structure, dev scripts, and use of custom local domains.
  • Use ECFMG/pathways as an additional reference.

Acceptance Criteria

  • The root dev script in the repo must stop and start an https portless proxy server.
  • Each @apps/<app> package's dev script should start that application using portless and assign a custom localhost domain for access (see ShareThrift for the model, but use ownercommunity as the domain prefix instead of sharethrift).
  • Mock services that currently start as persisted servers in local environments must be moved into their respective @apps/ application package and managed fully under portless/custom domain configuration.
  • All configuration files (such as .env, app settings, local domain variables, etc.) must be reviewed and updated to accommodate the new portless-based domains.
  • Local development workflow documentation must be updated, referencing ShareThrift as a guide for structure, but using the ownercommunity domain prefix instead.

References

Notes

  • Use the ShareThrift approach for dev script and proxy orchestration as much as possible.
  • Replace all appearances of sharethrift in domain names with ownercommunity for all apps.
  • See main directory and apps directory for concrete examples.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions