Skip to content

Scalable folder structure #12

@alex-page

Description

@alex-page

Right now there is a lot in src.

assets and scripts are the folders I am least confident on right now. assets contains css for a reset, and scripts could be utilities.

@dominikwilkowski any thoughts on this stucture? Do you have any open source examples you are basing the current directory structure off?

src
├── assets
│   └── reset.js
├── index.js
├── App.js
├── tokens
│   ├── index.js
│   └── colors.js
├── layers
│   ├── Example1.js
│   ├── Example2.js
│   ├── Example3.js
│   └── index.js
├── scripts
│   ├── generateConfig.js
│   ├── serviceWorker.js
│   └── storage.js
├── routes
│   ├── Settings
│   │   └── Settings.js
│   ├── About
│   │   └── About.js
│   ├── Editor
│   │   ├── Editor.js
│   │   ├── Canvas.js
│   │   ├── CanvasItem.js
│   │   ├── CanvasList.js
│   │   ├── LayerSelector.js
│   │   ├── Sidebar.js
│   │   ├── index.js
│   │   └── Phrase.js
│   └── index.js
└── components
    ├── ThemeBtn.js
    ├── Header.js
    ├── Navigation.js
    └── index.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions