Go to file
ShivaniKhaire 5241396999 fix(validation): implement generic country prefix validation for mobile numbers (issue #116)
- Add validPrefixes and example fields to CountryCode interface in constants/countries.ts
- Refactor validatePhoneNumber in utils/validation.ts to generically enforce starting prefixes across all countries
- Clearly indicate starting prefix requirement (e.g. 'For Pakistan, the mobile number must start with 3.')
- Improve phone input error matching in AuthModal and ProfileDrawer for mobile validation errors
2026-11-23 12:48:07 +05:30
public feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
src fix(validation): implement generic country prefix validation for mobile numbers (issue #116) 2026-11-23 12:48:07 +05:30
.dockerignore build(store): add production Dockerfile and Nginx reverse proxy configuration 2026-09-17 14:24:15 +05:30
.env.example feat: initial commit for standalone acupedia storefront 2026-09-10 12:56:24 +05:30
.git_store_info bug-fix: added country wise phone number length restrictions 2026-10-29 13:04:24 +05:30
.gitignore feat(docker): add production docker setup and container git metadata tracking 2026-10-13 11:28:02 +05:30
Dockerfile feat(docker): add production docker setup and container git metadata tracking 2026-10-13 11:28:02 +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
nginx.conf build(store): add production Dockerfile and Nginx reverse proxy configuration 2026-09-17 14:24:15 +05:30
package-lock.json fix(validation): add country-specific mobile phone validation and libphonenumber-js 2026-11-16 16:13:26 +05:30
package.json fix(validation): add country-specific mobile phone validation and libphonenumber-js 2026-11-16 16:13:26 +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 fix(store): ensure trailing slash on storefront routing and redirect /store to prevent blank page on reload (#83) 2026-11-07 15:46:46 +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/).