{"id":48586661,"url":"https://github.com/flexycode/analytics-saas","last_synced_at":"2026-04-08T18:12:55.435Z","repository":{"id":332045290,"uuid":"1131723275","full_name":"flexycode/analytics-saas","owner":"flexycode","description":"Enterprise-grade AI-powered analytics platform with predictive insights and automated reporting.","archived":false,"fork":false,"pushed_at":"2026-01-12T06:02:05.000Z","size":823,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T16:08:26.476Z","etag":null,"topics":["bull","docker","google-vertex-ai","grafana","jaeger","kubernetes","loki","nestjs","nextjs14","nginx-ingress","open-ai-api","postgresql","prometheus","react-18","redis","shadcn-ui","tailwindcss","typeorm","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flexycode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-10T15:18:18.000Z","updated_at":"2026-01-12T06:05:22.000Z","dependencies_parsed_at":"2026-01-12T16:09:12.657Z","dependency_job_id":null,"html_url":"https://github.com/flexycode/analytics-saas","commit_stats":null,"previous_names":["flexycode/analytics-saas"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/flexycode/analytics-saas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexycode%2Fanalytics-saas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexycode%2Fanalytics-saas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexycode%2Fanalytics-saas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexycode%2Fanalytics-saas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flexycode","download_url":"https://codeload.github.com/flexycode/analytics-saas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexycode%2Fanalytics-saas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bull","docker","google-vertex-ai","grafana","jaeger","kubernetes","loki","nestjs","nextjs14","nginx-ingress","open-ai-api","postgresql","prometheus","react-18","redis","shadcn-ui","tailwindcss","typeorm","typescript"],"created_at":"2026-04-08T18:12:53.815Z","updated_at":"2026-04-08T18:12:55.428Z","avatar_url":"https://github.com/flexycode.png","language":"TypeScript","readme":"# Analytics SaaS Platform\n\nEnterprise-grade AI-powered analytics platform with predictive insights and automated reporting.\n\n## Tech Stack\n\n| Layer | Technology |\n|-------|------------|\n| Frontend | Next.js 14 (App Router), React 18, TypeScript, Tailwind CSS, Shadcn/UI |\n| Backend | NestJS 10, TypeScript, TypeORM, Bull (Job Queue) |\n| Database | PostgreSQL 16 (Primary), Redis 7 (Cache/Sessions) |\n| Infrastructure | Docker, Kubernetes, Nginx Ingress |\n| Monitoring | Prometheus, Grafana, Loki, Jaeger |\n| ML/AI | OpenAI API / Google Vertex AI (Hybrid) |\n\n\n## UI Showcase\n\n### Dashboard Overview\n![Dashboard](screenshots/dashboard.png)\n*Real-time analytics overview with key metrics and interactive charts*\n\n### Landing Page\n![Landing Page](screenshots/landing-page.png)\n*Modern, high-converting landing page with feature highlights*\n\n### Authentication\n\u003cdiv style=\"display: flex; gap: 10px;\"\u003e\n  \u003cimg src=\"screenshots/login-page.png\" width=\"45%\" alt=\"Login Page\" /\u003e\n  \u003cimg src=\"screenshots/register-page.png\" width=\"45%\" alt=\"Register Page\" /\u003e\n\u003c/div\u003e\n*Secure authentication flow with real-time validation*\n\n## Project Structure\n\n```\nanalytics-saas/\n├── backend/                 # NestJS API server\n│   ├── src/\n│   │   ├── auth/           # Authentication \u0026 RBAC\n│   │   ├── tenants/        # Multi-tenancy\n│   │   ├── analytics/      # Core analytics\n│   │   ├── reports/        # Automated reporting\n│   │   ├── predictions/    # ML integration\n│   │   ├── dashboards/     # Dashboard management\n│   │   ├── cache/          # Redis caching\n│   │   └── jobs/           # Background jobs\n│   └── Dockerfile\n├── frontend/               # Next.js application\n│   ├── src/\n│   │   ├── app/           # App Router pages\n│   │   ├── components/    # UI components\n│   │   └── lib/           # Utilities\n│   └── Dockerfile\n├── k8s/                    # Kubernetes manifests\n│   ├── base/\n│   ├── backend/\n│   ├── frontend/\n│   ├── postgres/\n│   ├── redis/\n│   └── monitoring/\n├── docker-compose.yml      # Local development\n└── .env.example           # Environment template\n```\n\n## Quick Start\n\n### Prerequisites\n- Docker \u0026 Docker Compose\n- Node.js 20+ (for local development)\n- pnpm (recommended) or npm\n\n### Development Setup\n\n```bash\n# Clone and setup\ngit clone \u003crepository-url\u003e\ncd analytics-saas\n\n# Copy environment variables\ncp .env.example .env\n\n# Start all services\ndocker-compose up -d\n\n# Access applications\n# Frontend: http://localhost:3000\n# Backend API: http://localhost:4000\n# API Docs: http://localhost:4000/api/docs\n```\n\n### Manual Setup (Without Docker)\n\n```bash\n# Backend\ncd backend\npnpm install\npnpm run migration:run\npnpm run start:dev\n\n# Frontend (new terminal)\ncd frontend\npnpm install\npnpm run dev\n```\n\n## Environment Variables\n\nSee `.env.example` for all required variables.\n\n| Variable | Description |\n|----------|-------------|\n| `DATABASE_URL` | PostgreSQL connection string |\n| `REDIS_URL` | Redis connection string |\n| `JWT_SECRET` | Token signing secret |\n| `JWT_EXPIRES_IN` | Token expiration time |\n| `OPENAI_API_KEY` | OpenAI API key for predictions |\n\n## API Documentation\n\nInteractive API documentation available at `/api/docs` when the backend is running.\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexycode%2Fanalytics-saas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflexycode%2Fanalytics-saas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexycode%2Fanalytics-saas/lists"}