{"id":30780562,"url":"https://github.com/devsargam/blog-api-issues","last_synced_at":"2026-01-20T17:26:06.904Z","repository":{"id":307016699,"uuid":"1021404600","full_name":"devsargam/blog-api-issues","owner":"devsargam","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-17T11:42:30.000Z","size":107,"stargazers_count":0,"open_issues_count":29,"forks_count":36,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-28T18:05:02.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/devsargam.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,"zenodo":null}},"created_at":"2025-07-17T10:49:16.000Z","updated_at":"2025-07-17T11:42:34.000Z","dependencies_parsed_at":"2025-07-29T02:05:23.458Z","dependency_job_id":null,"html_url":"https://github.com/devsargam/blog-api-issues","commit_stats":null,"previous_names":["devsargam/blog-api-issues"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devsargam/blog-api-issues","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsargam%2Fblog-api-issues","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsargam%2Fblog-api-issues/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsargam%2Fblog-api-issues/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsargam%2Fblog-api-issues/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devsargam","download_url":"https://codeload.github.com/devsargam/blog-api-issues/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsargam%2Fblog-api-issues/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273728149,"owners_count":25157136,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-09-05T07:48:42.790Z","updated_at":"2026-01-20T17:26:06.866Z","avatar_url":"https://github.com/devsargam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blog Application - Open Source Learning Project\n\nThis is a demo blog application designed for teaching students how to identify and fix issues in open source projects. The codebase contains various intentional bugs, security issues, and bad practices that students can discover and fix.\n\n## Project Structure\n\n```\nblog-app/\n├── src/\n│   ├── index.js          # Main application entry point\n│   ├── config/           # Configuration files (with security issues to fix)\n│   ├── models/           # Data models with schema issues\n│   ├── routes/           # API routes with various bugs\n│   ├── services/         # Business logic with logic errors\n│   ├── middleware/       # Middleware with security vulnerabilities\n│   └── utils/            # Utility functions with bugs\n└── package.json\n```\n\n## Common Issues to Find and Fix\n\n### 1. Syntax Errors\n- Missing semicolons\n- Missing closing brackets\n- Typos in variable names\n\n\n### 2. Logic Errors\n- Assignment instead of comparison operators\n- Wrong array methods\n- Incorrect conditional logic\n\n### 3. Security Issues\n- Hardcoded credentials\n- SQL injection vulnerabilities\n- Missing input validation\n- Weak encryption\n- Exposed sensitive data\n\n### 4. Best Practice Violations\n- Not using async/await properly\n- Missing error handling\n- Memory leaks\n- Synchronous file operations\n\n## Getting Started\n\n1. Clone the repository\n2. Run `npm install`\n3. Start finding and fixing issues!\n\n## Running the Application\n\n```bash\n# Development mode\nnpm run dev\n\n# Production mode\nnpm start\n\n# Run tests\nnpm test\n\n# Lint code\nnpm run lint\n```\n\n## Learning Objectives\n\n- Understanding common coding mistakes\n- Learning debugging techniques\n- Understanding security best practices\n- Learning to read and understand existing codebases\n- Contributing to open source projects\n\n## Contributing\n\nStudents should:\n1. Fork the repository\n2. Create a feature branch\n3. Fix issues they find\n4. Submit pull requests with clear descriptions\n\nHappy debugging! 🐛","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsargam%2Fblog-api-issues","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsargam%2Fblog-api-issues","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsargam%2Fblog-api-issues/lists"}