https://github.com/cdcgov/nccdphp-ddt-dprp-program-locator-ui
https://github.com/cdcgov/nccdphp-ddt-dprp-program-locator-ui
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
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.2%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: CDCgov
- License: apache-2.0
- Language: JavaScript
- Default Branch: main
- Size: 511 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 2
- Releases: 0
Metadata Files
README.md
DPRP Program Locator UI
Diabetes Prevention Recognition Program (DPRP) Program Finder
This repository contains the user interface for the CDC's Diabetes Prevention Recognition Program (DPRP) Program Locator. This application helps users find CDC-recognized diabetes prevention programs in their area, supporting both in-person and virtual program options.
Related documents
- Open Practices
- Rules of Behavior
- Thanks and Acknowledgements
- Disclaimer
- Contribution Notice
- Code of Conduct
Overview
The DPRP Program Locator is a React-based web application that enables users to search for and locate CDC-recognized diabetes prevention programs. The application provides:
- Geographic Search: Find programs by location with customizable distance radius
- Program Types: Search for both in-person and virtual diabetes prevention programs
- Interactive Maps: Visual representation of program locations using ArcGIS mapping
- Detailed Information: Organization details, contact information, and program specifics
- Accessibility: Built with CDC's design standards and accessibility guidelines
Attribution
Texas A&M Geoservices Geocoding APIs
This application uses the Texas A&M Geoservices Geocoding APIs http://geoservices.tamu.edu
Federal Communications Commission (FCC)
This application uses data and services provided by the Federal Communications Commission (FCC).
Features
- Dual Search Interface: Separate tabs for in-person and virtual programs
- Location-Based Search: Uses geolocation services and address lookup
- Interactive Mapping: ArcGIS integration for visual program location display
- Pagination: Handles large datasets with paginated results
- Responsive Design: Mobile-friendly interface using Bootstrap
- Real-time Data: Displays last updated information for data freshness
Technology Stack
- Frontend: React 18, Vite
- State Management: Redux Toolkit
- Mapping: ArcGIS API for JavaScript, OpenLayers
- UI Framework: React Bootstrap, CDC Template Package
- Routing: React Router DOM
- Build Tool: Vite
- Deployment: Docker with Nginx
Environment
The application requires the following environment configuration:
Environment Variables
- API Endpoints: Configure API base URLs for program data retrieval
- Geocoding Services: Texas A&M Geoservices API configuration
- Mapping Services: ArcGIS API keys and service URLs
- Feature Flags: Toggle application features as needed
Configuration Files
- Environment-specific settings are managed through configuration files
- Public configuration is available in
public/config/directory - Development vs. production environment variables should be set appropriately
Deployment Environments
- Development: Local development with hot reloading
- Staging: Pre-production testing environment
- Production: Live application deployment with optimized builds
Development
Prerequisites
- Node.js (v18 or higher)
- npm
Installation
bash
npm install
Running the Application
bash
npm run dev
Building for Production
bash
npm run build
Docker Deployment
bash
docker build -t dprp-program-locator .
docker run -p 80:8080 dprp-program-locator
Public Domain Standard Notice
This repository constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105. This repository is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication. All contributions to this repository will be released under the CC0 dedication. By submitting a pull request you are agreeing to comply with this waiver of copyright interest.
License Standard Notice
The repository utilizes code licensed under the terms of the Apache Software License and therefore is licensed under ASL v2 or later.
This source code in this repository is free: you can redistribute it and/or modify it under the terms of the Apache Software License version 2, or (at your option) any later version.
This source code in this repository is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache Software License for more details.
You should have received a copy of the Apache Software License along with this program. If not, see http://www.apache.org/licenses/LICENSE-2.0.html
The source code forked from other open source projects will inherit its license.
Privacy Standard Notice
This repository contains only non-sensitive, publicly available data and information. All material and community participation is covered by the Disclaimer and Code of Conduct. For more information about CDC's privacy policy, please visit http://www.cdc.gov/other/privacy.html.
Contributing Standard Notice
Anyone is encouraged to contribute to the repository by forking and submitting a pull request. (If you are new to GitHub, you might start with a basic tutorial.) By contributing to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, non-exclusive, transferable license to all users under the terms of the Apache Software License v2 or later.
All comments, messages, pull requests, and other submissions received through CDC including this GitHub page may be subject to applicable federal law, including but not limited to the Federal Records Act, and may be archived. Learn more at http://www.cdc.gov/other/privacy.html.
Records Management Standard Notice
This repository is not a source of government records, but is a copy to increase collaboration and collaborative potential. All government records will be published through the CDC web site.
Additional Standard Notices
Please refer to CDC's Template Repository for more information about contributing to this repository, public domain notices and disclaimers, and code of conduct.
Owner
- Name: Centers for Disease Control and Prevention
- Login: CDCgov
- Kind: organization
- Email: data@cdc.gov
- Location: Atlanta, GA
- Website: http://open.cdc.gov/
- Twitter: CDCgov
- Repositories: 114
- Profile: https://github.com/CDCgov
CDC's collaborative software projects to protect America from health, safety, and security threats, both foreign and in the U.S.
GitHub Events
Total
- Delete event: 1
- Member event: 2
- Pull request event: 4
- Fork event: 1
- Create event: 2
Last Year
- Delete event: 1
- Member event: 2
- Pull request event: 4
- Fork event: 1
- Create event: 2
Dependencies
- default-route-openshift-image-registry.apps.ecpaas-dev.cdc.gov/trusted-images/nginx-124 9.5-1741883852@sha256 build
- default-route-openshift-image-registry.apps.ecpaas-dev.cdc.gov/trusted-images/nodejs-20 1-50.1720405266@sha256 build
- 349 dependencies
- @types/react ^18.2.47 development
- @types/react-dom ^18.2.18 development
- @vitejs/plugin-react-swc ^3.9.0 development
- eslint ^9.14.0 development
- vite ^5.0.11 development
- @arcgis/core ~4.29.0
- @cdcent/templatepackage-react ^4.24.5
- @reduxjs/toolkit ^2.6.1
- axios ^1.8.4
- ol ^10.1.0
- react ^18.2.0
- react-bootstrap ^2.10.9
- react-dom ^18.2.0
- react-icons ^5.2.1
- react-redux ^9.2.0
- react-router-dom ^7.5.0
- react-select ^5.10.1
- react-tabs ^6.0.2