Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)**

</div>

Expand Down Expand Up @@ -254,8 +254,8 @@ graph TB
end

subgraph "☁️ Vercel Edge Network"
C[Frontend Hosting<br/>recipe.techycsr.me]
D[API Gateway<br/>apis.recipe.techycsr.me]
C[Frontend Hosting<br/>recipe.techycsr.dev]
D[API Gateway<br/>apis.recipe.techycsr.dev]
end

subgraph "⚡ Backend Services"
Expand Down Expand Up @@ -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)**
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions backend/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Layout/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Footer = () => {
<HeartIcon className="h-4 w-4 text-red-500 inline-block mx-1" />
{' '}by{' '}
<a
href="https://techycsr.me"
href="https://techycsr.dev"
target="_blank"
rel="noopener noreferrer"
className="text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 font-medium transition-colors"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import axios from 'axios';
// Get API URL with fallback
const getApiUrl = () => {
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';
};
Expand Down
2 changes: 1 addition & 1 deletion package.production.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"vercel",
"production"
],
"author": "TechyCSR <contact@techycsr.me>",
"author": "TechyCSR <contact@techycsr.dev>",
"license": "MIT",
"bugs": {
"url": "https://github.com/TechyCSR/RecipeGenerator/issues"
Expand Down
4 changes: 2 additions & 2 deletions test-deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "=================================="
Expand Down