# iFixKart Platform Configuration & Credentials This guide summarizes all environment URLs, database connections, and credentials for the iFixKart Unified E-Commerce & Service Platform. --- ## 1. Application URLs ### Development Local Environment - **Admin ERP/CRM Portal**: [http://localhost:3022](http://localhost:3022) - **Storefront E-Commerce Portal**: [http://localhost:3021](http://localhost:3021) - **FastAPI Backend Server**: [http://localhost:8000](http://localhost:8000) ### Production Staging API - **API Backend Endpoint**: [https://ifixkartbe.trionixsolution.com](https://ifixkartbe.trionixsolution.com) --- ## 2. Admin CRM Default Credentials - **Default Admin Account**: - **Email**: `admin@ifixkart.com` - **Password**: `Admin$2026Setup` --- ## 3. Database Credentials & Databases ### Development Local Environment DB Credentials: - **MySQL User**: `root` - **MySQL Password**: `NewStrongPassword123!` - **Connection Port**: `3306` ### Production Server DB Credentials: - **MySQL User**: `Adithiyan` - **MySQL Password**: `Adithiyan$2025Mysql` - **Connection Port**: `3306` - **Host**: `127.0.0.1` ### Exact Production Database Names (No Underscores): 1. **CRM / Service / Repair Jobs DB**: `ifixkartcrm` - *Production URL*: `mysql+pymysql://Adithiyan:Adithiyan$2025Mysql@127.0.0.1:3306/ifixkartcrm` 2. **E-Commerce Storefront DB**: `ifixkartecommerce` - *Production URL*: `mysql+pymysql://Adithiyan:Adithiyan$2025Mysql@127.0.0.1:3306/ifixkartecommerce` 3. **Core Admin / ERP Settings DB**: `ifixkartecommerceadmin` - *Production URL*: `mysql+pymysql://Adithiyan:Adithiyan$2025Mysql@127.0.0.1:3306/ifixkartecommerceadmin` --- ## 4. Run/Restart Instructions ### Backend (FastAPI + Uvicorn) ```bash cd Backend ./venv/bin/uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload ``` ### Storefront Frontend (Next.js) ```bash cd "Ecommerce Page" npm run dev -- -p 3021 ``` ### Admin ERP/CRM Frontend (Next.js) ```bash cd "Admin Ecommerce" npm run dev -- -p 3022 ``` --- ## 5. Server Configurations ### Nginx Config (`nginx.conf`) - The Nginx proxy config maps domain routing to the local ports (`3021`, `3022`, and `8000`). - The `client_max_body_size` is configured to `200M` to support large bulk product file uploads.