CtrlK
BlogDocsLog inGet started
Tessl Logo

ssi5/react-project-arquitecture

Enforce React project folder structure by domain category

44

Quality

56%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files
name:
react-project-arquitecture
description:
Define and enforce React project architecture by category inside src/components and src/api/services.

Context

This skill defines the base React project architecture to keep consistency and scalability.

The main rule is to organize by domain category inside components and api/services.

Required structure

All implementations must follow this structure:

src/
  components/
    <category>/
      <component>/
  api/
    services/
      <category>/
        <service>

Examples

src/components/paises/chile/
src/api/services/customer/

Organization rules

  1. Inside src/components, each first-level folder represents a category (for example: countries).
  2. Inside each category, each component must have its own folder (for example: chile).
  3. Inside src/api/services, apply exactly the same category-based separation.
  4. Each service must live under the category that matches its functional domain.
  5. Do not mix components and services outside their base directories (components and api/services).

Goal

This architecture helps:

  • Scale the project by domains.
  • Find components and services quickly.
  • Keep a consistent structure across teams.
Workspace
ssi5
Visibility
Public
Created
Last updated
Publish Source
CLI
Badge
ssi5/react-project-arquitecture badge