Skip to content

Commit

Permalink
fixup! Add ADR for frontend directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
dottorblaster committed May 16, 2023
1 parent 9db51ff commit 9a514ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion adr/0009-frontend-directory-structure-and-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Our software project has a frontend that needs to be organized to facilitate mai

We studied [Redux' documentation](https://redux.js.org/faq/code-structure/) about common patterns for project structures.

Most of the discussion happened reviewing web/#1355.
Most of the discussion happened reviewing [web/#1355](https://github.com/trento-project/web/pull/1355).

## Decision

Expand Down Expand Up @@ -61,6 +61,8 @@ assets/js
└── trento.jsx
```

Note that `/common` contains truly generic and reusable utilities and components.

## Consequences

There may be some overhead associated with restructuring the frontend, such as updating dependencies, fixing references, or rewriting some parts of the application. However, in the long term, this new directory structure will ensure an organized and efficient system that can be easily maintained, scaled, and navigated. The new structure will also facilitate collaboration between developers as they will have a better understanding of where everything is located.
Expand Down

0 comments on commit 9a514ca

Please sign in to comment.