elstoc / ecms-ui

ecms (ui)
1 stars 0 forks source link

Another folder reorganisation #117

Closed elstoc closed 4 months ago

elstoc commented 4 months ago

The various components are pretty isolated from one another, and all use code that's strongly linked but scattered all over the site. Perhaps a general structure change is called for, whereby the top level of the src folder contains a folder per component set, so...

src
  auth
  gallery
  markdown
  shared
  site
  videodb

Beneath each of these are various optional subfolders, for example:

src
  auth
    api (including functions to all endpoints, along with api data types)
    components
    hooks

Perhaps finally also a top-level utils directory

elstoc commented 4 months ago

done