/
Front-end Overview

Front-end Overview

Technologies

React: Front-end React app

Redux: State management

Material UI: UI library

Folder Structure

src/ components # Reusable components features # Redux slice logic pages # Core components shared # Shared logic and data data themes utils

File Structure

Generally for the core pages, we have comments that specify the section of the page as such:

////////////////////////////////////////////////////////// // Imports // # Imports ////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////// // Redux // # Redux logic ////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////// // State Logic // # Core logic ////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////// // useEffect // # useEffect ////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////// // Render // # Render //////////////////////////////////////////////////////////

First time setup

The first step to running the Seedcalc locally is downloading the code by cloning the repository:

git clone https://github.com/precision-sustainable-ag/dst-seedcalc.git

Then run:

npm install && npm run start

 

Related content

Creating a new Redux slice
Creating a new Redux slice
Read with this
Redux
More like this
Introduction
Read with this
GitHub README Template
GitHub README Template
More like this
Pages
Read with this
Coding Best Practices
Coding Best Practices
More like this