From f82061e29b44b18b71031fafbc7bb96df1f33e86 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 4 Oct 2025 08:38:44 +0000 Subject: [PATCH 1/2] Initial plan From b74205f51f12b346f98ad7feed9d810c35332c49 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 4 Oct 2025 08:43:38 +0000 Subject: [PATCH 2/2] Fix developer URL from techycsr.me to techycsr.dev across entire project Co-authored-by: TechyCSR <90786270+TechyCSR@users.noreply.github.com> --- README.md | 16 ++++++++-------- backend/api/index.js | 4 ++-- frontend/src/components/Layout/Footer.js | 2 +- frontend/src/utils/api.js | 2 +- package.production.json | 2 +- test-deployment.sh | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 3ef9387..fdddfa5 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ Monitoring: --- -**Developed by [@TechyCSR](https://techycsr.dev) • [📧 Contact](mailto:contact@techycsr.me) • [🌐 Portfolio](https://techycsr.dev)** +**Developed by [@TechyCSR](https://techycsr.dev) • [📧 Contact](mailto:contact@techycsr.dev) • [🌐 Portfolio](https://techycsr.dev)** @@ -254,8 +254,8 @@ graph TB end subgraph "☁️ Vercel Edge Network" - C[Frontend Hosting
recipe.techycsr.me] - D[API Gateway
apis.recipe.techycsr.me] + C[Frontend Hosting
recipe.techycsr.dev] + D[API Gateway
apis.recipe.techycsr.dev] end subgraph "⚡ Backend Services" @@ -467,9 +467,9 @@ CORS_ORIGIN=https://recipe.techycsr.dev ### **🎯 For Mentors & Reviewers** **Instant Access (No Setup Required):** -1. 🌐 **Frontend**: Visit [recipe.techycsr.me](https://recipe.techycsr.dev) -2. 🔍 **Try Recipe Search**: Go to [recipe.techycsr.me/search](https://recipe.techycsr.dev/search) -3. 🔌 **API Health**: Check [apis.recipe.techycsr.me/health](https://apis.recipe.techycsr.dev/health) +1. 🌐 **Frontend**: Visit [recipe.techycsr.dev](https://recipe.techycsr.dev) +2. 🔍 **Try Recipe Search**: Go to [recipe.techycsr.dev/search](https://recipe.techycsr.dev/search) +3. 🔌 **API Health**: Check [apis.recipe.techycsr.dev/health](https://apis.recipe.techycsr.dev/health) 4. 📊 **Test API**: Try `curl https://apis.recipe.techycsr.dev/api/recipes/search?ingredients=chicken,tomato` ### **🛠️ For Developers (Local Setup)** @@ -723,8 +723,8 @@ npm run test:e2e ### **🔍 Quick Project Assessment** **Evaluation Checklist:** -- [ ] ✅ **Live Demo Accessible**: [recipe.techycsr.me](https://recipe.techycsr.dev) -- [ ] ✅ **Backend API Functional**: [apis.recipe.techycsr.me/health](https://apis.recipe.techycsr.dev/health) +- [ ] ✅ **Live Demo Accessible**: [recipe.techycsr.dev](https://recipe.techycsr.dev) +- [ ] ✅ **Backend API Functional**: [apis.recipe.techycsr.dev/health](https://apis.recipe.techycsr.dev/health) - [ ] ✅ **Recipe Search Working**: Test ingredient-based search - [ ] ✅ **Responsive Design**: Check mobile/desktop compatibility - [ ] ✅ **Code Quality**: Review GitHub repository structure diff --git a/backend/api/index.js b/backend/api/index.js index e301310..255020a 100644 --- a/backend/api/index.js +++ b/backend/api/index.js @@ -48,8 +48,8 @@ app.use(compression()); const allowedOrigins = process.env.ALLOWED_ORIGINS ? process.env.ALLOWED_ORIGINS.split(',') : [ - process.env.FRONTEND_URL || 'https://recipe.techycsr.me', - 'https://recipe.techycsr.me' + process.env.FRONTEND_URL || 'https://recipe.techycsr.dev', + 'https://recipe.techycsr.dev' ]; app.use(cors({ diff --git a/frontend/src/components/Layout/Footer.js b/frontend/src/components/Layout/Footer.js index 1ee53f3..8b82c93 100644 --- a/frontend/src/components/Layout/Footer.js +++ b/frontend/src/components/Layout/Footer.js @@ -11,7 +11,7 @@ const Footer = () => { {' '}by{' '} { if (process.env.NODE_ENV === 'production') { - return process.env.REACT_APP_API_URL || 'https://apis.recipe.techycsr.me'; + return process.env.REACT_APP_API_URL || 'https://apis.recipe.techycsr.dev'; } return process.env.REACT_APP_API_URL || 'http://localhost:5000'; }; diff --git a/package.production.json b/package.production.json index 5a506ef..1ff5509 100644 --- a/package.production.json +++ b/package.production.json @@ -29,7 +29,7 @@ "vercel", "production" ], - "author": "TechyCSR ", + "author": "TechyCSR ", "license": "MIT", "bugs": { "url": "https://github.com/TechyCSR/RecipeGenerator/issues" diff --git a/test-deployment.sh b/test-deployment.sh index 88424c6..e3f2756 100755 --- a/test-deployment.sh +++ b/test-deployment.sh @@ -14,9 +14,9 @@ BLUE='\033[0;34m' NC='\033[0m' # No Color # Frontend URL -FRONTEND_URL="https://recipe.techycsr.me" +FRONTEND_URL="https://recipe.techycsr.dev" # Backend URL -BACKEND_URL="https://apis.recipe.techycsr.me" +BACKEND_URL="https://apis.recipe.techycsr.dev" echo -e "${BLUE}1. Testing Frontend Availability${NC}" echo "=================================="