Front end for a single Bento platform node. Written in React using Ant Design components.
- Use 4 spaces for indentation
- Use
async
/await
syntax for asynchronous operations
.babelrc
: Babel configuration file.eslintrc.js
: ESLint configuration filesrc/
: All application source codecomponents/
: UI components.App.tsx
: The root component, which determines the overall layout of the entire application....
modules/
: Redux "modules", which determine the structure of the Redux state tree and specify relevant actions and reducers to handle them. This isn't a Redux-defined concept; rather, these can be thought of as an arbitrary but useful way to divide up action and reducer definitions into manageable, semi-self-contained sections.styles/
: Shared style objects.utils/
: Utility code shared across components, state code, and other modules in the application.actions.js
: Utilities related to Redux actionsmenu.tsx
: Utilities related to Ant Design menusmisc.ts
: Miscellaneous helper functionsnotifications.js
: Utilities related to Bento notificationsrequests.js
: Utilities related to HTTP requestsschema.js
: Utilities related to JSON schemassearch.js
: Utilities related to Bento searchurl.ts
: Utilities related to handling front-end URLs
constants.js
: Re-usable application constantsduo.js
: Constants and objects related to the Bento representation of the GA4GH Data Use Ontology.events.js
: Event dispatching code for triggering event handlers defined elsewhere.index.tsx
: The entry point for the application. Sets up the store and router and renders theApp
component.propTypes.js
: Re-usable prop types defined using theprop-types
module to enforce component property types.reducers.ts
: Root reducer definitiontemplate.html
: HTML template for the application (given towebpack
)
public/LICENSE.txt
: Copy of the LGPL v3.0 license for serving from deployed instances of the application.webpack.config.js
: Webpack configuration file