{"id":15723484,"url":"https://github.com/egytech-fyi/egytech-fyi-api","last_synced_at":"2026-03-06T16:31:42.119Z","repository":{"id":242397502,"uuid":"794061083","full_name":"egytech-fyi/egytech-fyi-api","owner":"egytech-fyi","description":"api.egytech.fyi provides comprehensive data and statistics on participants in the tech industry. Easily retrieve information on job titles, experience levels, compensation, and more. Powered by Cloudflare Workers. 🚀","archived":false,"fork":false,"pushed_at":"2024-07-10T20:54:51.000Z","size":72,"stargazers_count":57,"open_issues_count":3,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T01:38:56.805Z","etag":null,"topics":["api","cloudflare-workers","d1","egyptian-programmers","hono","sqlite","typescript"],"latest_commit_sha":null,"homepage":"https://api.egytech.fyi","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/egytech-fyi.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}},"created_at":"2024-04-30T11:34:46.000Z","updated_at":"2025-02-28T15:58:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b36d368-02bf-431c-a8ba-7771e6226af6","html_url":"https://github.com/egytech-fyi/egytech-fyi-api","commit_stats":null,"previous_names":["egytech-fyi/egytech-fyi-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/egytech-fyi/egytech-fyi-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egytech-fyi%2Fegytech-fyi-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egytech-fyi%2Fegytech-fyi-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egytech-fyi%2Fegytech-fyi-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egytech-fyi%2Fegytech-fyi-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egytech-fyi","download_url":"https://codeload.github.com/egytech-fyi/egytech-fyi-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egytech-fyi%2Fegytech-fyi-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30185458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T14:42:24.748Z","status":"ssl_error","status_checked_at":"2026-03-06T14:42:14.925Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["api","cloudflare-workers","d1","egyptian-programmers","hono","sqlite","typescript"],"created_at":"2024-10-03T22:11:52.214Z","updated_at":"2026-03-06T16:31:42.096Z","avatar_url":"https://github.com/egytech-fyi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌟 Tech Scene API\n\nThis project provides APIs to retrieve and analyze participants' data in the tech industry. It uses the Hono framework for building the API and Jest for testing.\n\n## 📋 Table of Contents\n\n- [🌟 Tech Scene API](#-tech-scene-api)\n  - [📋 Table of Contents](#-table-of-contents)\n  - [🚀 Getting Started](#-getting-started)\n    - [🔧 Prerequisites](#-prerequisites)\n    - [📦 Installation](#-installation)\n    - [🖥️ Running the Server](#️-running-the-server)\n    - [🧪 Running Tests](#-running-tests)\n    - [☁️ Deployment](#️-deployment)\n  - [📚 API Documentation](#-api-documentation)\n    - [👥 Participants Endpoint](#-participants-endpoint)\n    - [📊 Stats Endpoint](#-stats-endpoint)\n  - [🗂️ Project Structure](#️-project-structure)\n  - [🤝 Contributing](#-contributing)\n  - [📜 License](#-license)\n\n## 🚀 Getting Started\n\n### 🔧 Prerequisites\n\nEnsure you have the following installed:\n\n- Node.js\n- npm or yarn\n- Cloudflare Wrangler\n\n### 📦 Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/your-username/tech-scene-api.git\n   cd tech-scene-api\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   # or\n   yarn install\n   ```\n\n### 🖥️ Running the Server\n\n1. Start the development server with Wrangler:\n   ```bash\n   npm run dev\n   # or\n   yarn dev\n   ```\n\n2. The server should now be running at `http://localhost:8787`.\n\n### 🧪 Running Tests\n\nTo run the test suite:\n\n```bash\nnpm test\n# or\nyarn test\n```\n\n### ☁️ Deployment\n\nDeploy the application using Wrangler:\n\n```bash\nnpm run deploy\n# or\nyarn deploy\n```\n\n## 📚 API Documentation\n\n### 👥 Participants Endpoint\n\n- **Endpoint:** `/participants`\n- **Method:** `GET`\n- **Query Parameters:**\n  - `title` (string): Job title\n  - `level` (string): Job level\n  - `gender` (string): Gender\n  - `cs_degree` (string): CS Degree (yes/no)\n  - `business_market` (string): Business market (global/regional/local)\n  - `business_size` (string): Business size (large/medium/small)\n  - `business_focus` (string): Business focus (product/software_house)\n  - `business_line` (string): Business line (b2b/b2c/both)\n  - `yoe_from_included` (number): Years of experience from\n  - `yoe_to_excluded` (number): Years of experience to\n  - `programming_language` (string): Programming language\n  - `include_relocated` (string): Include relocated (true/false)\n  - `include_remote_abroad` (string): Include remote abroad (true/false)\n\n- **Example Request:**\n  ```bash\n  curl \"http://localhost:8787/participants?title=backend\u0026level=senior\"\n  ```\n\n- **Example Response:**\n  ```json\n  [\n    {\n      \"title\": \"Backend Engineer\",\n      \"level\": \"Senior\",\n      \"gender\": \"Male\",\n      \"degree\": \"Yes\",\n      \"businessMarket\": \"Global\",\n      \"businessSize\": \"Large\",\n      \"businessFocus\": \"Product-based company\",\n      \"businessLine\": \"B2B\",\n      \"yearsOfExperience\": 5,\n      \"programmingLanguagues\": \"Python, Java, etc.\",\n      \"workSetting\": \"Office\",\n      \"isEgp\": true,\n      \"netCompensation\": 120000,\n      \"location\": \"Cairo\"\n    }\n  ]\n  ```\n\n### 📊 Stats Endpoint\n\n- **Endpoint:** `/stats`\n- **Method:** `GET`\n- **Query Parameters:**\n  - Similar to the Participants endpoint\n  - `title` (string)\n  - `level` (string)\n  - `gender` (string)\n  - `cs_degree` (string)\n  - `business_market` (string)\n  - `business_size` (string)\n  - `business_focus` (string)\n  - `business_line` (string)\n  - `yoe_from_included` (number)\n  - `yoe_to_excluded` (number)\n  - `programming_language` (string)\n  - `include_relocated` (string)\n  - `include_remote_abroad` (string)\n\n- **Example Request:**\n  ```bash\n  curl \"http://localhost:8787/stats?title=backend\u0026level=senior\"\n  ```\n\n- **Example Response:**\n  ```json\n  {\n    \"stats\": {\n      \"totalCount\": 150,\n      \"median\": 75000,\n      \"p20Compensation\": 50000,\n      \"p75Compensation\": 90000,\n      \"p90Compensation\": 120000\n    },\n    \"buckets\": [\n      { \"bucket\": \"0-3K\", \"count\": 10 },\n      { \"bucket\": \"3-6K\", \"count\": 20 },\n      // more buckets...\n    ]\n  }\n  ```\n\n## 🗂️ Project Structure\n\n```\nproject-root/\n├── src/\n│   ├── routes/\n│   │   ├── participants.ts\n│   │   ├── stats.ts\n│   │   └── index.ts\n│   ├── utils/\n│   │   ├── queryHelpers.ts\n│   │   └── maps.ts\n│   ├── config/\n│   │   └── swaggerSpec.ts\n│   ├── types/\n│   │   └── bindings.ts\n│   ├── app.ts\n│   └── index.ts\n├── tests/\n│   ├── utils/\n│   │   └── queryHelpers.test.ts\n├── package.json\n├── tsconfig.json\n├── jest.config.js\n└── README.md\n```\n\n## 🤝 Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.\n\n1. Fork the repository\n2. Create a new branch (`git checkout -b feature-branch`)\n3. Make your changes\n4. Commit your changes (`git commit -m 'Add some feature'`)\n5. Push to the branch (`git push origin feature-branch`)\n6. Open a pull request\n\n## 📜 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\nThis README provides a comprehensive guide for setting up, running, and testing the project, as well as detailed API documentation and project structure information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegytech-fyi%2Fegytech-fyi-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegytech-fyi%2Fegytech-fyi-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegytech-fyi%2Fegytech-fyi-api/lists"}