invasivesbc

Inventory and database repository for the creation, treatment, and report on BC Invasive plants and animals.

https://github.com/bcgov/invasivesbc

Science Score: 26.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
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.3%) to scientific vocabulary

Keywords

dds env flnro invasives ionic-framework postgis postgresql react

Keywords from Contributors

transfer tran fuel tra nrm low fue fu empr credits
Last synced: 6 months ago · JSON representation

Repository

Inventory and database repository for the creation, treatment, and report on BC Invasive plants and animals.

Basic Info
  • Host: GitHub
  • Owner: bcgov
  • License: apache-2.0
  • Language: TypeScript
  • Default Branch: dev
  • Homepage:
  • Size: 53.8 MB
Statistics
  • Stars: 13
  • Watchers: 9
  • Forks: 4
  • Open Issues: 148
  • Releases: 0
Topics
dds env flnro invasives ionic-framework postgis postgresql react
Created over 5 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct

README.md

Invasive Species BC

img Quality Gate Status Coverage Maintainability Rating

Introduction

Invasive species are non-native plants and animals whose introduction and spread in British Columbia cause significant economic, social or environmental damage. This application tracks the observation, treatment, and monitoring of invasive species in the Province of British Columbia.

This project is part of the Species and Ecosystems Information System Modernization (SEISM) program.

Table of Contents

  1. Project Status
  2. Audience
  3. Features
  4. Getting Help or Reporting an Issue
  5. How to Contribute
  6. Architecture
  7. Project Structure
  8. Documentation
  9. Requirements
  10. Setup Instructions
  11. Running the Application
  12. License

Project Status

This application is in active development and has not yet been released.

Audience

Anyone with a valid IDIR or BCeID login may access the application to view data that is being tracked.

In addition, the application is intended for use by:

  • Surveyors who observe and record the absence, presence, and spread of invasive species
  • Subject matter experts who perform a variety of duties, including to record and analyze data and create action plans
  • Contractors who implement recommended treatments for observed invasive species
  • Administrators who manage the application and its users

Features

This application is anticipated to include the following main features:

  1. Support for IDIR and BCeID access
  2. User roles and permissions management
  3. Interactive maps displaying multiple data layers
  4. Observations of invasive species absence/presence
  5. Recommendations, planning, and application records of treatments
  6. Monitoring of treatment outcomes
  7. Query and export of data
  8. Auditing and reports
  9. Bulk data entry and mobile device data entry

Getting Help or Reporting an Issue

To report bugs/issues/features requests, please file an issue.

How to Contribute

If you would like to contribute, please see our contributing guidelines.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Architecture

This application uses PostgreSQL (with PostGIS), Ionic/React (for Web, IOS and Android). Our environments run on an OpenShift container platform cluster.

Project Structure

.config/                   - Common application configuration
.github/                   - Github actions
.docker/                   - Common Dockerfiles
.vscode/                   - IDE config for Visual Studio Code
api/                       - API codebase
app/                       - Capacitor APP Codebase
sharedapi/                 - Files shared between App and API (enums, RJSF Schemas, etc)
database/                  - Database Codebase
env_config/                - ENV config files
testing/                   - Test scripts, in particular Postman configs
CODE-OF-CONDUCT.md         - Code of Conduct
CONTRIBUTING.md            - Contributing Guidelines
LICENSE                    - License

Documentation

For additional Documentation about the InvasivesBC Application, see the Wiki

Requirements

  • XCode* (for iOS builds only)
  • Android Studio* (for Android Builds only)
  • Node >=20.0 or Docker

Development

The ideal multi-platform supporting machine is the Mac, But Windows and Linux work for Web and Android development.

Android Development

Install AndroidStudio and the Android SDK.

IOS Development

On MacOS: Install xCode.

Setup Instructions

Clone the repository to your own machine and follow instructions below.

Run the app locally (terminal)

In the app directory:

  1. npm ci
  2. npm start

In the api directory:

  1. npm ci
  2. npm run dev

Run the app locally (docker)

In the root directory

  1. make docker

Run the app on mobile

Android

On MacOS, Windows or Linux, in the app directory:

  1. npm install
  2. npm run build:android
  3. cd ..
  4. make run-android

Android Studio will open and, after a short delay, will allow you to run the application in the simulator or a connected device.

IOS

On MacOS, in the app directory:

  1. npm install
  2. npm run build:ios
  3. cd ..
  4. make run-ios

Xcode will open and, after a short delay, will allow you to run the application in the simulator or a connected device.

Acknowledgements

SonarCloud

License

Copyright 2019 Province of British Columbia

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Owner

  • Name: bcgov
  • Login: bcgov
  • Kind: organization
  • Email: Developer.Experience@gov.bc.ca
  • Location: Canada

This is the home for code that is open

GitHub Events

Total
  • Create event: 296
  • Issues event: 612
  • Watch event: 2
  • Delete event: 129
  • Member event: 2
  • Issue comment event: 701
  • Push event: 1,094
  • Gollum event: 16
  • Pull request review comment event: 127
  • Pull request review event: 302
  • Pull request event: 582
  • Fork event: 1
Last Year
  • Create event: 296
  • Issues event: 612
  • Watch event: 2
  • Delete event: 129
  • Member event: 2
  • Issue comment event: 701
  • Push event: 1,094
  • Gollum event: 16
  • Pull request review comment event: 127
  • Pull request review event: 302
  • Pull request event: 582
  • Fork event: 1

Committers

Last synced: 6 months ago

All Time
  • Total Commits: 5,301
  • Total Committers: 27
  • Avg Commits per committer: 196.333
  • Development Distribution Score (DDS): 0.729
Past Year
  • Commits: 744
  • Committers: 5
  • Avg Commits per committer: 148.8
  • Development Distribution Score (DDS): 0.272
Top Committers
Name Email Commits
Micheal Wells m****s@g****m 1,434
LocalNewsTV 6****V 723
bburciaga b****6@g****m 510
Hryhorii Pertaia r****7@g****m 438
Robert Johnstone r****b@p****m 434
Sam Warren s****4@g****m 424
Gabriele Dal Cengio d****e@g****m 393
brennanwebster B****r@g****a 205
Jamie Popkin p****j@l****a 177
Mike Wells mw@a****l 92
Shreyas Devalapurkar s****r@g****m 86
dogcomplex w****h@g****m 85
Meghna Holla 3****3 65
Nick Phura N****a@q****m 60
Roland Stens r****s@g****m 50
Chris Rafuse c****e@q****m 35
dependabot[bot] 4****] 35
Brijesh b****n@g****a 21
David 6****u 12
Burciaga b****g@n****v 10
Jason C. Leach j****h@f****a 4
Micheal Wells m****s@M****l 2
Anissa Agahchen a****n@a****m 2
Brijesh Amin b****n@g****m 1
Robert Johnstone r****b@S****l 1
Brennan Webster b****r@B****l 1
ZoeSimon 6****n 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 660
  • Total pull requests: 865
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 4 days
  • Total issue authors: 11
  • Total pull request authors: 15
  • Average comments per issue: 0.2
  • Average comments per pull request: 0.85
  • Merged pull requests: 686
  • Bot issues: 2
  • Bot pull requests: 11
Past Year
  • Issues: 397
  • Pull requests: 587
  • Average time to close issues: 17 days
  • Average time to close pull requests: 1 day
  • Issue authors: 6
  • Pull request authors: 4
  • Average comments per issue: 0.13
  • Average comments per pull request: 0.92
  • Merged pull requests: 485
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • LocalNewsTV (223)
  • brennanwebster (164)
  • micheal-w-wells (134)
  • meghna0593 (53)
  • ZoeSimon (34)
  • plasticviking (32)
  • CrystalChadburn (13)
  • LolandaE (3)
  • repo-mountie[bot] (2)
  • gdalcengio (1)
  • brijesh-amin (1)
Pull Request Authors
  • LocalNewsTV (431)
  • plasticviking (138)
  • micheal-w-wells (92)
  • meghna0593 (85)
  • brennanwebster (46)
  • rstens (20)
  • NickPhura (17)
  • gdalcengio (12)
  • dependabot[bot] (10)
  • popkinj (6)
  • anissa-agahchen (4)
  • CrystalChadburn (1)
  • LolandaE (1)
  • brijesh-amin (1)
  • repo-mountie[bot] (1)
Top Labels
Issue Labels
Bug (150) Feature Request (47) Enhancement (40) Ready (33) Task (27) duplicate (15) Mobile (13) Technical debt (11) Epic (11) high priority (8) UX/UI (8) DevOps (7) Cancelled (7) INFO (7) Research/Discussion (7) Nice to have (6) Post Launch (6) From User Testing Session (5) Needs Offline Implementation (4) Needs Info (4) Documentation (3) SO Testing (3) Recommended (3) Preference (3) web (3) User Story (2) Critical (2) User Requested Enhancement (2) User Reported (2) Newsworthy (2)
Pull Request Labels
dependencies (10) Bug (6) Feature Request (2) duplicate (1) Research/Discussion (1) Mobile (1) UX/UI (1) Epic (1)