This document provides technical information for developers working on the GistPin Analytics Dashboard.
analytics/ ├── docs/ # Documentation files ├── components/ # React components ├── hooks/ # Custom React hooks ├── services/ # API service calls └── utils/ # Utility functions
- Node.js v18+
- npm or yarn
- GistPin API access
# Clone the repository
git clone https://github.com/PinSpace-Org/GistPin.git
# Install dependencies
npm install
# Start development server
npm run dev- Built with React and TypeScript
- State management using React hooks
- Charts powered by Chart.js
- REST API built with Node.js
- PostgreSQL database
- Redis for caching analytics data
- Add the metric to the database schema
- Create the API endpoint in Backend/routes
- Add the service call in analytics/services
- Create the UI component in analytics/components
# Run all tests
npm run test
# Run analytics specific tests
npm run test analyticsPlease read the main README.md before contributing