Skip to content

Define overall architecture for kaiaulu react and necessary libraries #1

@austindang67

Description

@austindang67

Look into "bulletproof-react" as a basis for our project structure. Start looking into unit testing libraries. Create a vite-react project.

https://github.com/alan2207/bulletproof-react

https://react.dev/learn/thinking-in-react

https://martinfowler.com/articles/modularizing-react-apps.html

Bulletproof-react will create a basis for maintainability that can be expanded upon by future collaborators on this project. It is proven and scalable, and as a result will make it easier for future developers to be on-boarded. Refactoring will be easier as well.

As for unit-testing, Vitest will be our choice as it is Vite-native and our project is Vite + React. It runs fast and tests real app behavior.

Network Graph Data Architecture

Image

Hooks

  • useGraphData
  • useJsonFiles
  • useGraphLayout
  • useGraphInteractions
  • useGraphNodeResizing (will further discuss)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions