- Integrate libphonenumber-js to validate country mobile numbering plans (e.g., France 06/07, India 6-9, UK 07) - Add ISO-2 country codes to eliminate dropdown collisions between countries sharing dial codes (+1 for US and Canada) - Automatically strip leading national trunk zero (0) when converting to standard international E.164 format - Ensure new dependency is registered in package.json and package-lock.json for npm install |
||
|---|---|---|
| public | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| .git_store_info | ||
| .gitignore | ||
| Dockerfile | ||
| README.md | ||
| eslint.config.js | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
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
- Install dependencies:
npm install - Start development server:
Server runs by default onnpm run devhttp://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/).