StreamClient is a production-grade, full-stack API testing and workflow platform built for speed, scalability, and an optimized developer experience. Deployed on GCP with Docker and serving developers worldwide.
π Live Demo: streamclient.devsvarun.com
StreamClient is deployed on Google Cloud Platform with enterprise-grade infrastructure:
- π³ Docker Containerization: Multi-stage builds for optimized image sizes and security
- π SSL/TLS Encryption: Nginx reverse proxy with Let's Encrypt certificates
- β‘ Load Balancing: Nginx configured for high-performance request routing
- π Zero-Downtime Deployments: Blue-green deployment strategy with health checks
- π Monitoring: Application and infrastructure metrics tracking
- π‘οΈ Security Hardening: Rate limiting, CORS policies, and security headers
βββββββββββββββββββββββββββββββββββββββ
β streamclient.devsvarun.com β
β (SSL/TLS Certificate) β
βββββββββββββββββ¬ββββββββββββββββββββββ
β
βββββββββΌβββββββββ
β Nginx Proxy β Port 443/80
β (SSL, CORS, β
β Rate Limit) β
βββββββββ¬βββββββββ
β
βββββββββββββ΄ββββββββββββ
β β
βββββΌβββββ βββββββββΌβββββββ
β Docker β β Docker β
β Web βββββββββββΊβ Proxy β
β (3000) β β (5000) β
ββββββββββ ββββββββββββββββ
The project uses NPM Workspaces to manage multiple interdependent packages in a single repository, enabling atomic commits, shared dependencies, and seamless frontend-backend integration.
streamclient/
βββ apps/
β βββ web/
β β βββ src/ βοΈ React Frontend Application
β β βββ Dockerfile π³ Web container config
β β βββ package.json
β βββ proxy/
β βββ src/ π‘οΈ Express.js API Gateway
β βββ Dockerfile π³ Proxy container config
β βββ package.json
βββ packages/
β βββ ui/ π¨ Shared Design System (Tailwind CSS)
β βββ types/ π Shared TypeScript Types
βββ docker-compose.yml π³ Multi-container orchestration
βββ nginx/
βββ nginx.conf π§ Production proxy configuration
- Professional API Testing: Send HTTP requests with full header, body, and query parameter support
- Real-time Response Inspection: Syntax-highlighted JSON viewer with formatting
- Request History: Persistent storage of previous requests for quick replay
- Endpoint Management: Save and organize frequently-used API endpoints
- Advanced JSON Editor: CodeMirror 6 integration with validation and auto-formatting
- Monorepo Structure: Centralized workflow with cross-package dependency management
- Decoupled UI Library:
@stream/uiensures consistent design across apps - Parallel Execution: Run frontend and backend simultaneously using
concurrently - Type Safety: Shared TypeScript configurations across all packages
- Production-Ready: Dockerized with SSL, monitoring, and security best practices
| Layer | Technology |
|---|---|
| Frontend | βοΈ React 18, Vite, Tailwind CSS |
| Backend | π’ Node.js, Express |
| Code Editor | π CodeMirror 6 |
| Tooling | π¦ NPM Workspaces, TypeScript, Concurrently |
| Shared Packages | π¨ UI Library, π TypeScript Types |
| Infrastructure | π³ Docker, Nginx, GCP, Let's Encrypt |
-
Professional JSON Editor
Replaced basic<textarea>with CodeMirror 6 for line numbers, syntax highlighting, and auto-closing brackets. -
Real-time Validation
Highlighting invalid JSON instantly with red borders and floating error messages. -
Smart Formatter
Beautifies JSON safely without crashing on non-standard formatting. -
Request Bar Refinement
Fixed method selector layout overflow while keeping a clean focus ring. -
Non-Intrusive Notifications
Replaced blocking alerts with a subtle notification system.
Global Shortcuts & Keybindings
Ctrl + Enterβ Send RequestCtrl + Mβ Cycle MethodsCtrl + Shift + Fβ Focus ModeCtrl + Sβ Save ResponseCtrl + Hβ Toggle HistoryCtrl + /β Toggle Help
Ctrl + Lβ Focus URL BarCtrl + 1β Switch to HeadersCtrl + 2β Switch to BodyEscβ Close Modals
-
Ctrl + Shift + Hβ Add Header Row -
Ctrl + Shift + Xβ Remove Header -
Ctrl + Shift + \β Clear All Headers -
Ctrl + Backspaceβ Clear Response -
Ctrl + Shift + Backspaceβ Hard Reset -
Improved JSON Handling
Editor validates and formats JSON bodies efficiently (note: comment support inside body editor is not available).
-
Monorepo Dependency Management
Fixed workspace build errors by ensuring correct dependency installation. -
TypeScript Strictness
Resolved implicitanyerrors and removed unused imports. -
Disk Recovery (GCP)
Cleared disk exhaustion issues via Docker system prune and log vacuum. -
Environment Restoration
Restored Node.js and npm using NVM after disk corruption. -
Production Hardening
Implemented rate limiting, security headers, and optimized Docker builds.
- Node.js v18+
- npm v7+
- Clone the repository
git clone https://github.com/devsvarun/streamclient.git
cd streamclient- Install dependencies
npm install- Start development servers
npm run devThis will start:
- Frontend (Vite):
http://localhost:3000 - Backend (Express):
http://localhost:5000
- Build images
docker-compose build- Run containers
docker-compose up -d- View logs
docker-compose logs -f# Build and deploy using docker-compose
docker-compose up -d --build
# Or build individual services
docker-compose build web
docker-compose build proxy
# View running containers
docker-compose ps
# View logs
docker-compose logs -f web
docker-compose logs -f proxy
# Stop services
docker-compose downstreamclient/
βββ apps/
β βββ web/ # React frontend application
β β βββ src/
β β β βββ components/ # React components
β β β βββ hooks/ # Custom React hooks
β β β βββ stores/ # State management
β β β βββ utils/ # Utility functions
β β βββ Dockerfile # Web container configuration
β | βββ nginx.conf # Nginx configuration
β β βββ vite.config.ts
β βββ proxy/ # Express backend server
β βββ server.js # Proxy container configuration
β βββ Dockerfile
β βββ package.json
βββ packages/
β βββ ui/ # Shared UI component library
β β βββ src/ # Reusable components
β β βββ package.json
β βββ types/ # Shared TypeScript type definitions
β βββ index.ts
β βββ package.json
βββ docker-compose.yml # Multi-container orchestration
βββ package.json # Root package.json
# Run tests
npm test
# Run tests with coverage
npm run test:coverage
# Run linting
npm run lint- Use VS Code with Tailwind CSS and TypeScript extensions
- Prefer workspace-scoped npm commands (
npm run dev -w web) - Hot reload for both server and client is handled via
concurrently - Always validate JSON before sending requests using
Ctrl + Shift + F - Use keyboard shortcuts to maximize productivity
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Varun Sharma
- GitHub: @devsvarun
- LinkedIn: linkedin.com/in/devsvarun
- Email: devsvarun@gmail.com
Built with modern technologies and deployed with enterprise-grade infrastructure to serve the developer community.
β Star this repo if you find it useful!