https://github.com/aquaveo/owp
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.3%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: Aquaveo
- Language: JavaScript
- Default Branch: main
- Size: 3.88 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Owp
This app was created using an experimental Tethys + React app scaffold. It uses React for the frontend of the app and Tethys as the backend.
Development Installation
You need to install both the Tethys dependencies and the node dependencies:
- Install the app in Tethys Platform
conda activate tethys
cd tethysapp-owp
tethys install -d
- Install the node and dependencies
cd tethysapp-owp
npm install --dev
Development
The webpack dev server is configured to proxy the Tethys development server (see webpack.config.js). The app endpoint will be handled by the webpack development server and all other endpoints will be handled by the Tethys (Django) development server. As such, you will need to start both in separate terminals.
- Start Tethys development server
tethys manage start
- Start webpack development server (in separate terminal)
npm start
Build
Webpack is configured to bundle and build the React app into the tethysapp/<app_package>/public/frontend directory. Before building a Python distribution for release, you should build using this command:
npm run build
Test
Use the following commands to lint and test the React portion of the app.
npm run lint
npm run test
The linting capability is powered by eslint and a number of plugins for React. The testing capabilities include jest, jsdom, testing-framework, user-event, and a few other JavaScript testing utilties to make it easy to test the frontend of the React-Tethys app.
Acknowledgements
This implementation is based on the excellent work done by @Jitensid that can be found on GitHub here: Jitensid/django-webpack-dev-server.
Some resources and source code is also derived from projects generated using Create React App.
Owner
- Name: Aquaveo
- Login: Aquaveo
- Kind: organization
- Email: it@aquaveo.com
- Location: Provo
- Website: aquaveo.com
- Repositories: 38
- Profile: https://github.com/Aquaveo
GitHub Events
Total
Last Year
Dependencies
- 1343 dependencies
- @babel/core ^7.18.2 development
- @babel/plugin-proposal-class-properties ^7.17.12 development
- @babel/plugin-transform-modules-commonjs ^7.18.2 development
- @babel/preset-env ^7.18.2 development
- @babel/preset-react ^7.17.12 development
- @testing-library/jest-dom ^5.16.4 development
- @testing-library/react ^13.2.0 development
- @testing-library/user-event ^14.2.0 development
- babel-jest ^28.1.0 development
- babel-loader ^8.2.5 development
- babel-plugin-prismjs ^2.1.0 development
- babel-plugin-styled-components ^2.0.7 development
- browserslist ^4.20.4 development
- dotenv-webpack ^7.1.0 development
- eslint ^8.16.0 development
- eslint-plugin-jest ^26.2.2 development
- eslint-plugin-react ^7.30.0 development
- eslint-plugin-react-hooks ^4.5.0 development
- identity-obj-proxy ^3.0.0 development
- jest ^28.1.0 development
- jest-css-modules ^2.1.0 development
- jest-environment-jsdom ^28.1.0 development
- jest-location-mock ^1.0.9 development
- jest-watch-typeahead ^1.1.0 development
- msw ^0.42.1 development
- react-app-polyfill ^3.0.0 development
- react-test-renderer ^18.1.0 development
- @amcharts/amcharts5 ^5.4.4
- @uiball/loaders ^1.3.0
- axios ^0.27.2
- bootstrap ^5.3.1
- color ^4.2.3
- css-loader ^6.5.1
- dotenv ^16.0.1
- eslint-config-react-app ^7.0.1
- file-loader ^6.2.0
- ol ^6.14.1
- ol-layerswitcher ^4.1.1
- prismjs ^1.28.0
- react ^18.0.0
- react-bootstrap ^2.8.0
- react-dom ^18.0.0
- react-icons ^4.3.1
- react-plotly.js ^2.5.1
- react-router-bootstrap ^0.26.1
- react-router-dom ^6.3.0
- sass ^1.49.0
- sass-loader ^12.3.0
- style-loader ^3.3.1
- styled-components ^5.3.11
- webpack ^5.64.4
- webpack-cli ^4.9.1
- webpack-dev-server ^4.6.0