Skip to content

Commit eff75f4

Browse files
committed
feat: update README with detailed application descriptions and add UI screenshots; include instructions for image integration
1 parent be51b6f commit eff75f4

File tree

5 files changed

+106
-6
lines changed

5 files changed

+106
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ on:
2424
paths-ignore:
2525
- '**/README.md'
2626
- '.devcontainer/**'
27+
- 'docs/**'
2728
# running on pull requests to main and develop branches
2829
pull_request:
2930
branches:

README.md

Lines changed: 74 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,83 @@
1-
# Java Demo App
1+
# Java Spring Boot Demo App - Inventory Records Manager
2+
3+
## Application UI Examples
4+
5+
### Blue/Green Deployment with Feature Flags
6+
7+
The application demonstrates both **Blue/Green deployment** strategies and **Feature Flag** implementations through a modern, responsive web interface.
8+
9+
#### Green Environment (Feature Enabled)
10+
<details>
11+
<summary>🟢 Click to view Green Environment Screenshot</summary>
12+
13+
![Green Environment - With Search Feature](docs/images/green_env.png)
14+
*Green-themed UI with search functionality enabled, export/import features, and enhanced user experience*
15+
16+
**Features visible:**
17+
- Search functionality with search box and button
18+
- Export to CSV and Import from CSV buttons
19+
- Green color scheme indicating feature environment
20+
- Full inventory management capabilities
21+
</details>
22+
23+
#### Blue Environment (Stable)
24+
<details>
25+
<summary>🔵 Click to view Blue Environment Screenshot</summary>
26+
27+
![Blue Environment - Stable Version](docs/images/blue_env.png)
28+
*Blue-themed stable environment with core inventory management features*
29+
30+
**Features visible:**
31+
- No search functionality (feature disabled)
32+
- Export/Import capabilities maintained
33+
- Blue color scheme indicating stable environment
34+
- Core inventory operations available
35+
</details>
36+
37+
## About This Application
38+
39+
This **Inventory Records Manager** is a comprehensive Spring Boot web application that demonstrates modern software development practices including:
40+
41+
- **🚀 Deployment Strategies**: Blue/Green deployments with zero-downtime releases
42+
- **🎯 Feature Management**: Runtime feature toggles and gradual rollouts
43+
- **🏗️ Cloud-Native Architecture**: Kubernetes-ready with Helm charts
44+
- **🔄 CI/CD Pipeline**: Automated testing, security scanning, and deployment
45+
- **📊 Monitoring & Observability**: Health checks, metrics, and resource monitoring
46+
47+
### Key Features
48+
49+
- **Inventory Management**: Add, edit, delete, and search inventory items
50+
- **Export/Import**: CSV data export and import functionality
51+
- **User Authentication**: Secure login and session management
52+
- **Responsive Design**: Modern UI that works across devices
53+
- **Feature Flags**: Dynamic feature enabling/disabling without deployments
54+
- **Database Integration**: PostgreSQL with Liquibase migrations
55+
- **Caching**: Redis integration for improved performance
256

357
## Overview
458

5-
This is a simple Sales Manager Java App that stores sales items in a table presented in a web app. This demo repo is designed to help understand some of **CI/CD** ([Continuous Integration](https://docs.github.com/en/enterprise-cloud@latest/actions/automating-builds-and-tests/about-continuous-integration)/[Continuous Delivery](https://docs.github.com/en/enterprise-cloud@latest/actions/deployment/about-deployments/about-continuous-deployment)) principles and best practices.
59+
This is a comprehensive Sales Manager Java App that stores inventory items in a PostgreSQL database and presents them through a modern web interface. This demo repository is designed to help understand **CI/CD** ([Continuous Integration](https://docs.github.com/en/enterprise-cloud@latest/actions/automating-builds-and-tests/about-continuous-integration)/[Continuous Delivery](https://docs.github.com/en/enterprise-cloud@latest/actions/deployment/about-deployments/about-continuous-deployment)) principles, deployment strategies, and modern DevOps practices.
660

761
## Technology Stack
862

9-
- **Language:** Java (Spring Boot framework)
10-
- **Design Patterns:** MVC (Model View Controller) and OOP (Object Oriented Programming)
11-
- **Database:** [PostreSQL 10.4](https://www.postgresql.org/docs/10/release-10-4.html) (compatible with other versions)
12-
- **CI/CD Pipeline:** [GitHub Actions](https://docs.github.com/en/enterprise-cloud@latest/actions)
63+
- **Backend:** Java 17+ with Spring Boot 2.7+
64+
- **Frontend:** Thymeleaf templates with Bootstrap 5 and modern CSS
65+
- **Database:** [PostgreSQL 10.4+](https://www.postgresql.org/docs/10/release-10-4.html) with Liquibase migrations
66+
- **Caching:** Redis for session management and performance optimization
67+
- **Container Platform:** Docker & Kubernetes with Helm charts
68+
- **Monitoring:** Spring Boot Actuator with health checks and metrics
69+
- **Security:** Spring Security with authentication and authorization
70+
- **Design Patterns:** MVC (Model View Controller), Repository Pattern, and OOP
71+
- **CI/CD Pipeline:** [GitHub Actions](https://docs.github.com/en/enterprise-cloud@latest/actions) with automated testing and deployment
72+
73+
### Architecture Components
74+
75+
- **Application Server**: Spring Boot with embedded Tomcat
76+
- **Database Layer**: PostgreSQL with connection pooling
77+
- **Caching Layer**: Redis cluster for improved performance
78+
- **Load Balancer**: Kubernetes Services with traffic distribution
79+
- **Feature Management**: Runtime configuration via ConfigMaps
80+
- **Deployment Strategy**: Blue/Green with Helm-based releases
1381

1482
## CI/CD Pipeline
1583

docs/README-IMAGES.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Adding Screenshots to README
2+
3+
## Instructions for Adding the UI Screenshots
4+
5+
To complete the README with the actual screenshots, you need to save the two UI images you provided as:
6+
7+
1. **Green Environment Screenshot**:
8+
- Save as: `docs/images/green-environment.png`
9+
- Shows the green-themed UI with search functionality enabled
10+
11+
2. **Blue Environment Screenshot**:
12+
- Save as: `docs/images/blue-environment.png`
13+
- Shows the blue-themed stable UI without search features
14+
15+
## How to Add the Images
16+
17+
1. Save the images in the `docs/images/` directory with the exact filenames mentioned above
18+
2. The README.md file is already configured to reference these images
19+
3. Once saved, the images will automatically appear in the README when viewed on GitHub
20+
21+
## Current Status
22+
23+
✅ README structure updated with enhanced descriptions
24+
✅ Image references added to README
25+
🔲 Actual PNG files need to be saved (you can add these manually)
26+
27+
The README now includes:
28+
- Modern app description with key features
29+
- Enhanced technology stack
30+
- Professional presentation of the Blue/Green deployment concept
31+
- Placeholder references for the UI screenshots

docs/images/blue_env.png

272 KB
Loading

docs/images/green_env.png

243 KB
Loading

0 commit comments

Comments
 (0)