nishiki-tech / nishiki-frontend

Nishiki is an app for tracking and sharing food inventories within groups for better pantry management.
https://nishiki.tech
MIT License
17 stars 5 forks source link

Transition the directory structure for components #288

Open nick-y-ito opened 4 months ago

nick-y-ito commented 4 months ago

Description

We need to transition the directory structure for components to one that looks like the following. This change will help us introduce component testing and Storybook.

.
└── /src
    └── /components
        ├── /forms
        │   ├── /TextField
        │   │   ├── useTextField.js
        │   │   ├── TextField.js
        │   │   ├── TextField.styles.js
        │   │   ├── TextField.test.js
        │   │   └── TextField.stories.js
        │   ├── /Select
        │   │   ├── useSelect.js
        │   │   ├── Select.js
        │   │   ├── Select.styles.js
        │   │   ├── Select.test.js
        │   │   └── Select.stories.js
        │   └── index.js
        ├── /routing
        │   └── /PrivateRoute
        │       ├── userPrivateRoute.js
        │       ├── PrivateRoute.js
        │       └── PrivateRoute.test.js
        └── /layout
            └── /navigation
                └── /NavBar
                    ├── useNavBar.js
                    ├── NavBar.js
                    ├── NavBar.styles.js
                    ├── NavBar.test.js
                    └── NavBar.stories.js

Criteria

Notes

References