The PR-CYBR-FRONTEND-AGENT handles the development, optimization, and maintenance of user-facing interfaces across the PR-CYBR ecosystem. It ensures that all frontend components are intuitive, responsive, and aligned with the project’s branding and functionality requirements.
To set up the PR-CYBR-FRONTEND-AGENT locally on your machine:
git clone https://github.com/PR-CYBR/PR-CYBR-FRONTEND-AGENT.git
cd PR-CYBR-FRONTEND-AGENT
./scripts/local_setup.sh
This script will install necessary dependencies and set up the local environment.
./scripts/provision_agent.sh
This script configures the agent with default settings for local development.
To deploy the agent to a cloud environment:
Settings > Secrets and variables > Actions in your GitHub repository.CLOUD_API_KEYDOCKERHUB_USERNAMEDOCKERHUB_PASSWORD.github/workflows/docker-compose.yml.main branch to trigger the deployment workflow automatically../scripts/deploy_agent.sh
The PR-CYBR-FRONTEND-AGENT integrates with other PR-CYBR agents to provide a seamless user experience. It communicates with the PR-CYBR-BACKEND-AGENT for data retrieval and submission, and interacts with the PR-CYBR-USER-FEEDBACK-AGENT to collect user feedback.
Development
Start the development server:
python setup.py
http://localhost:3000 to view the application.src/ directory; the app will reload automatically.Testing
Run unit and integration tests:
python tests/*
Building for Production
Create an optimized production build:
python setup.py
The build artifacts will be stored in the build/ directory.
This project is licensed under the MIT License. See the LICENSE file for details.
For more information, refer to the React Documentation or contact the PR-CYBR team.