Apollo is a React UI/UX component library primarily developed by G2X with an emphasis on productivity and ease of use. This package uses TSDX for development, and extends the use of packages like React Hook Form, and others for the purpose of providing a complete development experience.
Here is a quick setup of what you need to do to start contributing in Apollo.
# Install Node.js
sudo apt-get install -y nodejs
# Clone repo
git clone https://github.com/MileMarker10/apollo-component-library apollo
# Run the setup script (One time command to install deps and husky)
yarn setup
# (Optional) run Storybook
yarn storybook
# (Optional) run Rollup TypeScript compiler
yarn start
To help guide your way around the repo, here is a quick breakdown of the file structure.
example
: contains a test application for integration testing components post-distribution processing.src
: contains all source code including components and utilities.components
: contains all component foldersinterfaces
: contains all types & interfacesutil
: contains all utility functions and classes
stories
: contains allstorybook
files for each component.test
: contains all unit testing done through Jest and@testing-library
.
apollo-component-library
├───example
│ └───Testing environment for component implementation
│
├───src
│ ├───*components*
│ │ └───Component folders
│ │ ├───*components* contains abstracted components
│ │ ├───*overload* contains overloaded components
│ │ └───Component Files
│ │
│ │───*interfaces*
│ │ └───Types and interfaces
│ │
│ └───*util*
│ └───Utility classes and functions
│
├───stories
│ └───Storybook testing files
│
└───test
└───Jest testing files
Feel free to use the Issues tab on the repo to voice any questions or concerns about the codebase.
Coming soon