This repository contains multiple Cost Management prototypes organized by feature/ticket.
Cost management/
├── index.html # Landing page to navigate between prototypes
├── prototypes/
│ ├── COST-6922-GoogleCloudInvoiceMonthCostPerspective/
│ │ ├── src/
│ │ ├── package.json
│ │ ├── webpack configs
│ │ └── ... (complete prototype files)
│ ├── COST-XXXX-NextFeature/ # Future prototypes...
│ └── COST-YYYY-AnotherFeature/
└── README.md
Simply open index.html in your browser to see all available prototypes.
-
Navigate to the prototype folder:
cd "prototypes/COST-6922-GoogleCloudInvoiceMonthCostPerspective"
-
Install dependencies (first time only):
npm install
-
Start the development server:
npm start
-
Build for production:
npm run build
-
Deploy to GitHub Pages (from prototype folder):
npm run deploy
-
Copy an existing prototype folder:
cp -r prototypes/COST-6922-GoogleCloudInvoiceMonthCostPerspective prototypes/COST-XXXX-YourFeatureName
-
Navigate to the new folder:
cd prototypes/COST-XXXX-YourFeatureName -
Update the prototype:
- Modify
package.json(name, description) - Make your feature changes in
src/ - Test locally with
npm start
- Modify
-
Add your prototype to the landing page:
- Edit the root
index.html - Add a new list item with your prototype's link and description
- Edit the root
Status: ✅ Complete
Features:
- OpenShift cluster cost tracking
- AWS, GCP, and Azure cost management
- Cost Model management with markup/discount
- Tag management and cost categories
- Platform projects configuration
- Cost Explorer with detailed breakdowns
- Optimizations page with recommendations
- Invoice month vs usage date cost perspectives
Tech Stack:
- React 18
- TypeScript
- PatternFly 6
- React Router
- Webpack 5
Each prototype is completely independent with its own:
package.jsonand dependencies- Build configuration (webpack)
- Source code (
src/) - Build output (
dist/)
- Each prototype can be developed and deployed independently
- The landing page provides easy navigation between prototypes
- Use semantic versioning for prototype versions if needed
- Keep prototypes focused on specific features/tickets
Each prototype has its own deployment configuration. From within a prototype folder:
npm run deployThis will build and deploy that specific prototype to GitHub Pages.
Cost Management Team
Last Updated: November 2025