diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100755 new mode 100644 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..d530050 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,39 @@ +version: '3.8' + +services: + rabbitmq: + image: rabbitmq:3-management + container_name: healix-rabbitmq + ports: + - "5672:5672" + - "15672:15672" + environment: + RABBITMQ_DEFAULT_USER: guest + RABBITMQ_DEFAULT_PASS: guest + volumes: + - rabbitmq_data:/var/lib/rabbitmq + + redis: + image: redis:7-alpine + container_name: healix-redis + ports: + - "6379:6379" + volumes: + - redis_data:/data + + elasticsearch: + image: elasticsearch:8.13.0 + container_name: healix-elasticsearch + environment: + - discovery.type=single-node + - xpack.security.enabled=false + - ES_JAVA_OPTS=-Xms512m -Xmx512m + ports: + - "9200:9200" + volumes: + - es_data:/usr/share/elasticsearch/data + +volumes: + rabbitmq_data: + redis_data: + es_data: \ No newline at end of file diff --git a/frontend/web/Web Folder Structure #U2013 Usage Guide.md b/frontend/web/Web Folder Structure #U2013 Usage Guide.md new file mode 100644 index 0000000..5a8e0bf --- /dev/null +++ b/frontend/web/Web Folder Structure #U2013 Usage Guide.md @@ -0,0 +1,19 @@ +Web Folder Structure – Usage Guide +This document explains the purpose and usage of each folder and important file inside the +frontend/web structure used in modern scalable applications. +• web/app: Contains all Next.js routes, pages, layouts, and global styles. This is where UI pages +are defined. +• web/components: Reusable UI components like buttons, navbar, footer, cards. No business +logic here. +• web/hooks: Custom React hooks such as authentication or data fetching helpers. +• web/lib: Core utilities like API configuration, authentication helpers, and shared logic. +• web/services: Handles communication with backend APIs (auth, product, order services). +• web/public: Static assets like images, icons, and SVGs. +• web/styles: Optional folder for themes, CSS modules, or design tokens. +• web/types: TypeScript interfaces and types shared across the app. +• middleware.ts: Used for route protection, authentication checks, and redirects. +• next.config.ts: Next.js configuration file. +• package.json: Project dependencies and scripts. +• tsconfig.json: TypeScript configuration. +This structure follows industry best practices and is suitable for scaling applications similar to +Amazon, Flipkart, or other large platforms. diff --git a/frontend/web/public/Phone/blue.png b/frontend/web/public/Phone/blue.png new file mode 100644 index 0000000..52a0724 Binary files /dev/null and b/frontend/web/public/Phone/blue.png differ diff --git a/frontend/web/public/Phone/green.png b/frontend/web/public/Phone/green.png new file mode 100644 index 0000000..ab5eff8 Binary files /dev/null and b/frontend/web/public/Phone/green.png differ diff --git a/frontend/web/src/app/globals.css b/frontend/web/src/app/globals.css index 0b3a640..8611244 100644 --- a/frontend/web/src/app/globals.css +++ b/frontend/web/src/app/globals.css @@ -144,3 +144,18 @@ @apply bg-background text-foreground; } } + +/* ── Mobile Responsive Fixes ── */ +html, +body { + overflow-x: hidden; + max-width: 100vw; +} + +.no-scrollbar::-webkit-scrollbar { + display: none; +} +.no-scrollbar { + -ms-overflow-style: none; + scrollbar-width: none; +} diff --git a/frontend/web/src/components/landingpage/ Container.tsx b/frontend/web/src/components/landingpage/Container.tsx similarity index 100% rename from frontend/web/src/components/landingpage/ Container.tsx rename to frontend/web/src/components/landingpage/Container.tsx diff --git a/frontend/web/src/components/landingpage/Footer.tsx b/frontend/web/src/components/landingpage/Footer.tsx index ae10e92..094b1d9 100644 --- a/frontend/web/src/components/landingpage/Footer.tsx +++ b/frontend/web/src/components/landingpage/Footer.tsx @@ -2,20 +2,24 @@ import React from 'react'; export default function Footer() { return ( -