{"id":23936750,"url":"https://github.com/johnforfar/customer-intent-dashboard","last_synced_at":"2025-02-24T02:43:44.344Z","repository":{"id":257313721,"uuid":"857825691","full_name":"johnforfar/customer-intent-dashboard","owner":"johnforfar","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-16T07:10:52.000Z","size":75641,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T01:16:08.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnforfar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-09-15T17:50:58.000Z","updated_at":"2024-09-16T07:10:56.000Z","dependencies_parsed_at":"2024-09-16T00:10:13.266Z","dependency_job_id":null,"html_url":"https://github.com/johnforfar/customer-intent-dashboard","commit_stats":null,"previous_names":["johnforfar/customer-intent-dashboard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fcustomer-intent-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fcustomer-intent-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fcustomer-intent-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fcustomer-intent-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnforfar","download_url":"https://codeload.github.com/johnforfar/customer-intent-dashboard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240409428,"owners_count":19796791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-01-06T01:16:22.536Z","updated_at":"2025-02-24T02:43:44.320Z","avatar_url":"https://github.com/johnforfar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Customer Intent Dashboard\n\n## Overview\n\nThis project is an enterprise-grade solution for analyzing and visualizing customer service call intents using AWS technologies and TypeScript. It showcases advanced usage of serverless architecture, infrastructure as code, and full-stack TypeScript development, all implemented within a monorepo structure.\n\n## Tech Stack\n\n- **Frontend**: React with TypeScript\n- **Backend**: AWS Lambda with TypeScript\n- **Infrastructure**: AWS CDK with TypeScript\n- **Database**: Amazon DynamoDB\n- **API**: Amazon API Gateway\n- **Local Development**: LocalStack\n- **Monorepo Management**: Lerna\n\n## Key Features\n\n1. **Serverless Architecture**: Uses AWS Lambda for scalable, event-driven backend processing.\n2. **Infrastructure as Code**: Employs AWS CDK for defining and provisioning AWS resources using TypeScript.\n3. **Type-safe Development**: Leverages TypeScript across the entire stack.\n4. **Scalable Data Storage**: Uses DynamoDB for efficient NoSQL data management.\n5. **Local Development Environment**: Utilizes LocalStack to emulate AWS services locally.\n6. **Monorepo Architecture**: Uses Lerna for managing multiple packages in a single repository.\n\n## Project Structure\ncustomer-intent-dashboard/\n├── packages/\n│ ├── frontend/ # React TypeScript application\n│ ├── backend/ # AWS Lambda functions\n│ └── infra/ # AWS CDK infrastructure code\n├── package.json # Root package.json for monorepo management\n├── Makefile # Commands for building, testing, and deploying\n├── docker-compose.yml # LocalStack configuration\n\n## Getting Started\n\n1. Clone the repository\n2. Install dependencies: `npm install`\n3. Start LocalStack: `docker-compose up -d localstack`\n4. Deploy to LocalStack: `make deploy-local`\n5. Start the frontend: `npm run start:frontend`\n\n## Local Development\n\nThis project uses LocalStack to emulate AWS services locally, allowing for faster development and testing cycles without incurring AWS costs.\n\n## Deployment\n\n- Local deployment: `docker compose build` \u0026 `docker compose up -d`\n- AWS deployment: `make deploy-aws-with-env` (Ensure AWS credentials are configured)\n\n## Advanced Features\n\n- **Custom CDK Constructs**: Implements reusable CDK constructs for common infrastructure patterns.\n- **Type-safe Lambda Functions**: Utilizes TypeScript for writing type-safe AWS Lambda functions.\n- **Local AWS Emulation**: Uses LocalStack to emulate AWS services in the local development environment.\n\n## Challenges Overcome\n\n- Implemented a solution to categorize and group similar intents to create a cleaner dashboard.\n- Set up a local development environment using LocalStack to emulate AWS services.\n- Configured CDK to work with both LocalStack and real AWS environments using the same codebase.\n\n## Future Improvements\n\n- Implement more sophisticated NLP algorithms for better intent categorization.\n- Add user authentication using Amazon Cognito.\n- Implement real-time updates using WebSockets.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnforfar%2Fcustomer-intent-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnforfar%2Fcustomer-intent-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnforfar%2Fcustomer-intent-dashboard/lists"}