{"id":27344869,"url":"https://github.com/sgcarstrends/backend","last_synced_at":"2025-04-12T17:51:35.431Z","repository":{"id":215821254,"uuid":"714541586","full_name":"sgcarstrends/backend","owner":"sgcarstrends","description":"Monorepo for SG Cars Trends backend services","archived":false,"fork":false,"pushed_at":"2025-03-31T11:20:49.000Z","size":1325,"stargazers_count":4,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T10:06:36.557Z","etag":null,"topics":["api","aws-lambda","hono","neon-postgres","neondb","sst","typescript","zod"],"latest_commit_sha":null,"homepage":"","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/sgcarstrends.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":"2023-11-05T06:41:21.000Z","updated_at":"2025-03-31T11:20:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad53a6c3-025f-4006-85fc-1c561d0e6762","html_url":"https://github.com/sgcarstrends/backend","commit_stats":{"total_commits":61,"total_committers":1,"mean_commits":61.0,"dds":0.0,"last_synced_commit":"d9e3d1ddd227187c21245c18bf745e4380fbafe0"},"previous_names":["ruchernchong/lta-cars-dataset","sgcarstrends/api","sgcarstrends/backend"],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgcarstrends%2Fbackend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgcarstrends%2Fbackend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgcarstrends%2Fbackend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgcarstrends%2Fbackend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgcarstrends","download_url":"https://codeload.github.com/sgcarstrends/backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610407,"owners_count":21132920,"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":["api","aws-lambda","hono","neon-postgres","neondb","sst","typescript","zod"],"created_at":"2025-04-12T17:51:34.806Z","updated_at":"2025-04-12T17:51:35.421Z","avatar_url":"https://github.com/sgcarstrends.png","language":"TypeScript","funding_links":[],"categories":["Code \u0026 Developer Tools"],"sub_categories":[],"readme":"# SG Cars Trends Backend\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n## Overview\n\nThis monorepo contains the backend services for SG Cars Trends, tracking Singapore's car statistics including:\n\n## Project Structure\n\n```\nbackend/\n├── apps/\n│   ├── api/          # REST API service\n│   └── updater/      # Data update service\n├── packages/\n│   ├── schema/       # Database schema using Drizzle ORM\n│   ├── types/        # Shared TypeScript types\n│   └── utils/        # Shared utility functions\n```\n\n## Technologies\n\n- **Backend**: Node.js, TypeScript\n- **Framework**: Hono\n- **Database**: Neon Serverless PostgreSQL with Drizzle ORM\n- **Caching**: Upstash Redis\n- **Infrastructure**: SST (Serverless Stack)\n- **Scheduling**: Trigger.dev\n- **Package Management**: pnpm workspace\n- **Build Tools**: Turbo\n- **Testing**: Vitest\n- **Linting**: Biome\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js \u003e= 18\n- pnpm\n\n### Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/sgcarstrends/backend.git\ncd backend\n\n# Install dependencies\npnpm install\n```\n\n### Development\n\n```bash\n# Run all tests\npnpm test\n\n# Run tests with coverage\npnpm test:coverage\n\n# Run linting\npnpm lint\n```\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgcarstrends%2Fbackend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgcarstrends%2Fbackend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgcarstrends%2Fbackend/lists"}