33 lines
866 B
Markdown
33 lines
866 B
Markdown
# 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:
|
|
```bash
|
|
npm install
|
|
```
|
|
2. Start development server:
|
|
```bash
|
|
npm run dev
|
|
```
|
|
Server runs by default on `http://localhost:3000/store/`.
|
|
|
|
## Production Build
|
|
```bash
|
|
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/`).
|