Go to file
ShivaniKhaire 917dd258d2 fix(auth): enforce country-wise phone number validation and 10-digit limit for India (#8)
- Enforce exact 10-digit mobile number requirement and input length restriction for India
- Add country-wise phone length rules, placeholders, and helper hints in AuthModal
- Synchronize dial code and country selection bidirectionally during registration
- Validate phone numbers against selected country rules during registration, profile update, and checkout
- Sanitize phone input in real time to filter out non-numeric characters
2026-10-05 13:17:01 +05:30
public feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
src fix(auth): enforce country-wise phone number validation and 10-digit limit for India (#8) 2026-10-05 13:17:01 +05:30
.env.example feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
.gitignore feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
README.md feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
eslint.config.js feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
index.html feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
package-lock.json fix(storefront): integrate access/me for subscriptions and update profile payload 2026-09-10 16:22:53 +05:30
package.json feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
postcss.config.js feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
tsconfig.app.json feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
tsconfig.json feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
tsconfig.node.json feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
vite.config.ts feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30

README.md

Acupedia Storefront

Customer-facing e-commerce storefront for practitioners to explore TCM curriculum modules, customize subscription plans, apply coupons, and checkout via Razorpay.

Tech Stack

  • Framework: React 19 + TypeScript + Vite
  • Styling: TailwindCSS v4
  • Icons: Lucide React
  • Payments: Razorpay Checkout SDK
  • HTTP Client: Axios

Local Development

  1. Install dependencies:
    npm install
    
  2. Start development server:
    npm run dev
    
    Server runs by default on http://localhost:3000/store/.

Production Build

npm run build

Build output will be in the dist/ directory.

Environment Variables

Create a .env file based on .env.example:

  • VITE_API_BASE: Backend API URL (default: http://localhost:8000).
  • VITE_BASE_PATH: Base routing path (default: /store/).