Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.31 KB

file-structure.md

File metadata and controls

44 lines (28 loc) · 1.31 KB

File Structure

The clientside codebase is divided into a few main folders. An overview of significant folders is shown below.

 └─ docs/
 └─ public/
 └─ scripts/
 └─ src/
    └─ components/
       └─ ui/
       └─ ...
    └─ constants/
    └─ redux/
    └─ utils/

Contains any scripts for building resources when deploying the site. Currently the data.js file handles the 'In the Press' and the 'Share the Harvest' page content generation by pulling from an external CMS.

Contains source code for the client application

React components used in this application. Other groupings of components have their own folders.

Contains re-usable, "low-level" interface elements used throughout the application. These components are presentational and generally have little to no state.

Constants used throughout the application. Files in ./data are generated by scripts

Global state management with slices and reduces. Handles mutations to map, filter, authentication, and settings.

React Hooks and API wrappers