React frontend of the LabTrail application.
BROWSER=none # Optional: REACT_APP_APOLLO_URL=https://example.org/graphql
React component are not separated into folders. The file hiearchy is flat. There are several types of components.
Route components match the name of the React router path.
Here are some examples for the category type:
Every CRUD mutation for every type has its own component.
The form components are shared among components. They are used to display the form for specific type or a select list.
Form for category ->
Select category ->
Fetching data is done as least as possible.
Every mutation is responsible to update the cache.