How shivam-kumar-emf-portrait/healthypick works
Healthy Pick is a product-catalog and shopping application with web, mobile, and landing-site surfaces backed by a NestJS API. The principal workflow is browsing or searching products and categories, opening product details, and managing favorites; administrators also maintain catalog content and upload images. Authentication, advertisements, and AI assistance are additional capabilities. The source excerpts establish several backend calls and mobile API usage, but do not show the full web/mobile routing or backend module wiring, so those links are omitted or marked unverified.
Main entry points: prisma.service.ts Prisma database access · index.tsx Mobile shopping · products.controller.ts Product endpoints · page.tsx Web storefront
Components 22
Client applications
- Web storefront
frontend/src/app/(store)/page.tsx - Web admin
frontend/src/app/admin/products/page.tsx - Mobile shopping
mobile-app/app/(tabs)/index.tsx - Mobile API client
mobile-app/lib/api.ts - Landing site
landing-website/src/app/page.tsx - AI chat interface
frontend/src/components/chat/AiChatbot.tsx
Catalog and shopping
- Product endpoints
backend/src/products/products.controller.ts - Product operations
backend/src/products/products.service.ts - Category endpoints
backend/src/categories/categories.controller.ts - Category operations
backend/src/categories/categories.service.ts - Advertisement endpoints
backend/src/advertisements/advertisements.controller.ts - Advertisement operations
backend/src/advertisements/advertisements.service.ts - Favorites
backend/src/favorites/favorites.service.ts
Identity and users
- Authentication
backend/src/auth/auth.service.ts - Token verification
backend/src/auth/guards/jwt-auth.guard.ts - User operations
backend/src/users/users.service.ts
AI and media
- AI assistant
backend/src/ai/ai.service.ts - Image endpoints
backend/src/images/images.controller.ts - Image handling
backend/src/images/images.service.ts
Persistence
- Prisma database access
backend/src/prisma/prisma.service.ts
Other components
- Shopper
- Administrator
Connections 19
- Shopper → Web storefront: browses
- Shopper → Mobile shopping: browses
- Administrator → Web admin: manages catalog
- Mobile shopping → Mobile API client: uses
mobile-app/app/(tabs)/index.tsx - Mobile shopping → Favorites: manages favorites
- Web storefront → Product endpoints: requests catalog
- Web admin → Product endpoints: manages products
- Product endpoints → Product operations: delegates to
backend/src/products/products.controller.ts - Category endpoints → Category operations: delegates to
backend/src/categories/categories.controller.ts - Advertisement endpoints → Advertisement operations: delegates to
backend/src/advertisements/advertisements.controller.ts - Favorites → Prisma database access: reads and writes
backend/src/favorites/favorites.service.ts - Product operations → Prisma database access: uses
- Category operations → Prisma database access: uses
backend/src/categories/categories.service.ts - Advertisement operations → Prisma database access: uses
backend/src/advertisements/advertisements.service.ts - Token verification → User operations: finds or creates
backend/src/auth/guards/jwt-auth.guard.ts - Authentication → Prisma database access: uses
backend/src/auth/auth.service.ts - AI assistant → Prisma database access: queries
backend/src/ai/ai.service.ts - AI chat interface → AI assistant: requests assistance
- Image endpoints → Image handling: uploads or deletes
backend/src/images/images.controller.ts