2026-04-16 19:50:11 +05:30
|
|
|
**GG-Dashboard**
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
## Tech Stack
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
Framework: React 19
|
|
|
|
|
Build Tool: Vite + TypeScript
|
|
|
|
|
Styling: Tailwind CSS 4 + shadcn/ui
|
|
|
|
|
Rich Text: Editor.js
|
|
|
|
|
State/Fetch: Axios + React Hooks
|
|
|
|
|
Export: XLSX + File-saver
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
## Project Structure
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
frontend/
|
|
|
|
|
├── src/
|
|
|
|
|
│ ├── api/
|
|
|
|
|
│ ├── assets/
|
|
|
|
|
│ ├── components/
|
|
|
|
|
│ ├── context/
|
|
|
|
|
│ ├── lib/
|
|
|
|
|
│ ├── layout/
|
|
|
|
|
│ ├── pages/
|
|
|
|
|
│ ├── services/
|
|
|
|
|
│ ├── utils/
|
|
|
|
|
│ └── App.tsx
|
|
|
|
|
├── .env
|
|
|
|
|
├── index.html
|
|
|
|
|
└── package.json
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
## Installation & Setup
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
**1. Prerequisites**
|
|
|
|
|
Node.js (v20+)
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
**2. Environment Variables**
|
2026-04-23 13:30:11 +05:30
|
|
|
VITE_API_URL="http://localhost:5008/api"
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
**3. Install Dependencies**
|
|
|
|
|
npm install
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
**4. Development**
|
|
|
|
|
npm run dev
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
## Scripts
|
2026-03-12 17:56:52 +05:30
|
|
|
|
2026-04-16 19:50:11 +05:30
|
|
|
npm run dev: Starts the Vite development server with Hot Module Replacement.
|
|
|
|
|
npm run build: Compiles TypeScript and builds the production-ready assets.
|