{"id":27163115,"url":"https://github.com/killercavin/brightside","last_synced_at":"2025-04-09T01:41:22.757Z","repository":{"id":285573342,"uuid":"645323799","full_name":"Killercavin/brightside","owner":"Killercavin","description":"Medical Equipment Supplies Hub","archived":false,"fork":false,"pushed_at":"2025-04-08T21:05:42.000Z","size":2016,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T22:20:50.531Z","etag":null,"topics":["kotlin","ktor","nextjs","typescipt"],"latest_commit_sha":null,"homepage":"","language":null,"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/Killercavin.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-05-25T12:00:03.000Z","updated_at":"2025-04-08T21:05:46.000Z","dependencies_parsed_at":"2025-04-01T14:44:33.610Z","dependency_job_id":null,"html_url":"https://github.com/Killercavin/brightside","commit_stats":null,"previous_names":["killercavin/brightside"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Killercavin%2Fbrightside","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Killercavin%2Fbrightside/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Killercavin%2Fbrightside/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Killercavin%2Fbrightside/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Killercavin","download_url":"https://codeload.github.com/Killercavin/brightside/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247958720,"owners_count":21024821,"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":["kotlin","ktor","nextjs","typescipt"],"created_at":"2025-04-09T01:41:21.942Z","updated_at":"2025-04-09T01:41:22.743Z","avatar_url":"https://github.com/Killercavin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# BrightSide\n\n\n# 📦 Backend Developer Roadmap (Ktor + PostgreSQL)\n\n\u003e My evolving backend engineering journey — hands-on with Ktor, PostgreSQL, and building REST APIs from scratch.\n\n---\n\n## 🌱 Phase 1: Core Backend Foundations\n\n- [x] Setup Ktor project with modular structure\n- [x] Build basic RESTful API (CRUD: Products)\n- [x] Connect PostgreSQL database with Exposed ORM\n- [x] Implement request routing and controllers\n- [x] Create `AddProductRequest`, `PatchProductRequest`, etc.\n- [x] Use Postman to test endpoints\n- [x] Handle simple errors\n- [ ] Add request validation (e.g., empty fields, invalid inputs)\n- [ ] Implement DTOs vs Domain Models\n- [ ] Add pagination and filtering (GET /products?page=1)\n- [ ] Manage config with environment variables\n\n---\n\n## 🚀 Phase 2: Production-Ready Backend\n\n- [ ] Add JWT authentication\n- [ ] Setup role-based access control (admin vs user)\n- [ ] Secure passwords with BCrypt\n- [ ] Improve error handling (custom exceptions, status codes)\n- [ ] Add createdAt, updatedAt, soft delete fields\n- [ ] Implement category ↔ product relationship\n- [ ] Add file/image upload for products\n- [ ] Add logging (Ktor's CallLogging)\n- [ ] Dockerize the application\n\n---\n\n## 🧠 Phase 3: Scale \u0026 Advanced Features\n\n- [ ] Add caching (Redis or in-memory)\n- [ ] Background job support (email notifications, etc.)\n- [ ] Rate limiting and throttling\n- [ ] API versioning (e.g., `/api/v1/products`)\n- [ ] Generate OpenAPI / Swagger docs\n- [ ] Write unit \u0026 integration tests\n- [ ] Setup CI/CD for auto-deployments\n\n---\n\n## ☁️ Optional Extras\n\n- [ ] Deploy to VPS / Render / Railway / Heroku\n- [ ] Add DB migrations with Flyway or Liquibase\n- [ ] Enable WebSocket support\n- [ ] Try GraphQL for more complex queries\n\n---\n\n📌 **Current Focus**: `Phase 1` near completion — CRUD done, time to polish validations and relations.\n\n📌 **Stack**: `Ktor`, `Kotlin`, `PostgreSQL`, `Exposed ORM`, `Postman`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillercavin%2Fbrightside","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkillercavin%2Fbrightside","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillercavin%2Fbrightside/lists"}