This directory contains the core documentation for TrendScout, a cloud-native social media monitoring platform.
Comprehensive overview of the technology choices, including:
- Frontend: React + Vite + Tailwind CSS
- Backend: Go microservices on Cloud Run
- Database: MongoDB Atlas
- Infrastructure: Google Cloud Platform services
- Development environment setup and project structure
Detailed technical architecture and implementation details:
- Core system components and data flow
- Microservices architecture breakdown
- Integration patterns and user workflows
- Development considerations and performance targets
# Frontend development
cd frontend
npm install
npm run dev
# Backend development
cd backend
go mod tidy
go run cmd/api/main.go
# Full stack development
make dev # Runs both frontend and backend
# Testing
make test # Runs all tests
make test-frontend # Frontend tests only
make test-backend # Backend tests only
# Build and deployment
make build # Build for production
make deploy # Deploy to GCPTrendScout uses a serverless microservices architecture on Google Cloud Platform:
Frontend (React) → API Gateway → Microservices (Go) → MongoDB Atlas
↓ ↓ ↓
GCS + CDN Cloud Run Cloud Run Services
- Cloud-Native: Built for GCP with serverless technologies
- Microservices: Loosely coupled, independently deployable services
- Event-Driven: Asynchronous processing with Pub/Sub messaging
- Cost-Optimized: Pay-per-use model for maximum efficiency
- Developer-Friendly: Modern tools and automated workflows
- Local Development: Hot reload for both frontend and backend
- Testing: Comprehensive test suites with CI integration
- Deployment: Automated CI/CD via GitHub Actions
- Monitoring: Built-in observability with GCP monitoring
For detailed information, see the individual documentation files.