Skip to content

Proposed Folder Structure for Service Organization #197

@Enejivk

Description

@Enejivk

Looking at the current service-bubble folder, I noticed that all service files and their tests are placed together. As more services are added, this folder will become increasingly large and difficult to manage.

To improve organization and maintainability, I propose that each service should have its own folder containing its main file, tests, and schema. Here’s an example of the proposed structure:

service-bubble/
├─ airtable/
│   ├─ airtable.ts
│   ├─ airtable.test.ts
│   └─ airtable.schema.ts
│
├─ postgresql/
│   ├─ postgresql.ts
│   ├─ postgresql.test.ts
│   └─ postgresql.schema.ts
│
├─ resend/
│   ├─ resend.ts
│   ├─ resend.test.ts
│   └─ resend.schema.ts
│
├─ github/
│   ├─ github.ts
│   ├─ github.test.ts
│   └─ github.schema.ts

├─ telegram/
│   ├─ telegram.ts
│   ├─ telegram.test.ts
│   └─ telegram.schema.ts
│
├─ eleven-labs/
│   ├─ eleven-labs.ts
│   ├─ eleven-labs.test.ts
│   └─ eleven-labs.schema.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions