Extract the current Azure OpenAI proxy in rise-dc-app/server.js into the Express backend (backend folder) with a dedicated router under a subroute such as /api/ai.
- Keep both endpoints: ai-suggestions (event suggestions) and ai-recipes (recipe suggestions) with existing validation and fallbacks
- Update npm scripts and dev workflow within the
rise-dc-app to remove the startup of server.js
- Update frontend fetches in
src/shared/utils/aiSuggestions.ts and src/pages/cookbook/GroceryList.tsx to target the new backend subroute
Extract the current Azure OpenAI proxy in
rise-dc-app/server.jsinto the Express backend (backendfolder) with a dedicated router under a subroute such as /api/ai.rise-dc-appto remove the startup ofserver.jssrc/shared/utils/aiSuggestions.tsandsrc/pages/cookbook/GroceryList.tsxto target the new backend subroute