Skip to content

Samiksha998/HelloWorld_WebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Samiksha's Web App

A simple Node.js web application deployed across GCP Cloud Run and Azure App Service with automated CI/CD.

Quick Start

Local Testing

npm install
node app.js

Visit http://localhost:8080

Docker

docker build -t helloworld-app .
docker run -p 8080:8080 helloworld-app

Project Structure

  • app.js - Node.js web application
  • package.json - Dependencies
  • Dockerfile - Container configuration
  • .github/workflows/ - CI/CD pipeline
  • gcp/ - GCP Cloud Run configs
  • azure/ - Azure App Service configs
  • scripts/ - Automation scripts

Deployment

GitHub Actions (Automatic)

  1. Push to main branch
  2. Workflow automatically deploys to both GCP and Azure

Manual Deployment

GCP:

gcloud run deploy helloworld-app --image gcr.io/PROJECT_ID/helloworld-app --platform managed --region us-central1 --allow-unauthenticated --port 8080

Azure:

az webapp create --resource-group helloworld-rg --plan helloworld-asp --name helloworld-app

Features

  • ✅ Multi-cloud deployment (GCP + Azure)
  • ✅ Automated CI/CD with GitHub Actions
  • ✅ Docker containerization
  • ✅ Security policies (IAM, network rules)
  • ✅ Autoscaling configuration
  • ✅ Comprehensive monitoring

Prerequisites

  • Node.js 18+
  • Docker
  • GCP project with billing enabled
  • Azure subscription
  • GitHub account

Security

  • npm audit checks for vulnerabilities
  • Service account credentials via GitHub Secrets
  • IAM role-based access control
  • Network security groups and firewall rules

Monitoring

Documentation

For detailed guides, see:

  • DEPLOYMENT-GUIDE.md - Step-by-step deployment
  • ARCHITECTURE.md - System design
  • SECURITY-AUTOSCALING.md - Advanced configuration

Cost

  • GCP Cloud Run: ~$5-20/month (low traffic)
  • Azure App Service: ~$10-40/month (low traffic)

Support

For issues or questions, check the troubleshooting section in the detailed guides or review GitHub Actions logs.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published