{"id":26749747,"url":"https://github.com/migueldcdev/graphic-editor","last_synced_at":"2025-06-22T07:04:45.145Z","repository":{"id":283817895,"uuid":"952999022","full_name":"migueldcdev/graphic-editor","owner":"migueldcdev","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-22T11:18:54.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T11:31:04.440Z","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/migueldcdev.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":"2025-03-22T10:36:38.000Z","updated_at":"2025-03-22T11:18:57.000Z","dependencies_parsed_at":"2025-03-22T11:43:02.131Z","dependency_job_id":null,"html_url":"https://github.com/migueldcdev/graphic-editor","commit_stats":null,"previous_names":["migueldcdev/graphic-editor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/migueldcdev/graphic-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/migueldcdev%2Fgraphic-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/migueldcdev%2Fgraphic-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/migueldcdev%2Fgraphic-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/migueldcdev%2Fgraphic-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/migueldcdev","download_url":"https://codeload.github.com/migueldcdev/graphic-editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/migueldcdev%2Fgraphic-editor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261250272,"owners_count":23130540,"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-03-28T11:29:44.437Z","updated_at":"2025-06-22T07:04:40.122Z","avatar_url":"https://github.com/migueldcdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Graphic Editor\n\nA minimal web-based image editor that allows users to **upload images**, **select areas of text within images**, and **process images efficiently**. Built with **modern web technologies** to ensure scalability, performance, and ease of use.\n\n## 🚀 Features\n\n- 📂 **Upload Images** (via File Input or Drag \u0026 Drop)\n- 📝 **Select Text Areas within Images**\n- 🎨 **Smart Canvas Resizing** to maintain aspect ratio\n- 🔄 **Efficient State Management with Redux Toolkit**\n- 📊 **Real-time Monitoring with Datadog**\n- 🛠 **Automated CI/CD Pipeline for Continuous Integration \u0026 Deployment**\n- ☁️ **Deployed on Vercel** for seamless hosting\n\n---\n\n## 🛠 Why These Technologies?\n\n### ⚛️ React 19\n\nReact provides a powerful component-based architecture that enables dynamic UI updates and ensures maintainability.\n\n### 🎨 Chakra UI\n\nChakra UI was chosen for its **flexibility**, **accessibility**, and **design consistency**, allowing us to build a sleek and responsive interface effortlessly.\n\n### 🎭 Konva.js + react-konva\n\nKonva.js is optimized for **2D canvas rendering**, making it the ideal choice for handling **image manipulation** and **text area selection** with smooth performance.\n\n### 🏛 Redux Toolkit\n\nState management is streamlined using Redux Toolkit, which provides **predictable data flow**, **easy debugging**, and **performance optimizations**.\n\n### 📊 Datadog\n\nDatadog enables real-time observability, helping us **track performance**, **detect issues early**, and ensure **optimal user experience**.\n\n### 🚀 Vite\n\nVite enables **blazing-fast development builds** and **hot module replacement**, significantly improving the developer experience.\n\n### 🔧 CI/CD with GitHub Actions\n\nA **CI/CD pipeline** is integrated via GitHub Actions to automate static code analysis, formatting and testing, ensuring high-quality updates and seamless releases.\n\n### ☁️ Vercel for Deployment\n\nVercel is used for **serverless deployment**, enabling fast global access and easy scaling.\n\n---\n\n## 📦 Installation\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/your-repo/image-editor.git\n   cd image-editor\n   ```\n\n2. Install dependencies:\n\n   ```sh\n   npm install\n   # or\n   yarn install\n   ```\n\n3. Start the development server:\n\n   ```sh\n   npm run dev\n   # or\n   yarn dev\n   ```\n\n4. Open [http://localhost:5173](http://localhost:5173) in your browser.\n\n---\n\n## 📂 Project Structure\n\n```\n📦 graphic-editor\n├── 📂 .github/workflows # CI Pipeline Config (GitHub Actions)\n├── 📂 tests   # End-To-End test example\n├── 📂 src\n│   ├── 📂 app           # Redux Store and Hooks\n│   ├── 📂 components    # UI Components (Uploader, Canvas, Toolbar, etc.) and Chakra UI Components\n│   ├── 📂 features      # Redux slices\n│   ├── 📂 assets        # Static Assets (Icons, Logos, etc.)\n│   ├── App.tsx          # Main App Component\n|   ├── App.test.tsx     # Example unit test\n│   ├── main.tsx         # Entry Point\n│\n├── 📜 .prettierrc      # Opinionated code formatting rules\n├── 📜 eslint.config.js #\n├── 📜 package.json     # Dependencies and Scripts\n├── 📜 README.md        # Documentation\n├── 📜 tsconfig.json    # TypeScript Config\n├── 📜 vite.config.ts   # Vite Configuration\n├── 📜 vitest.config.ts # Vitest testing configuration\n└── 📜 vercel.json      # Vercel Deployment Config\n└── 📜 datadog.config.js # Datadog Configuration\n```\n\n---\n\n## 🚀 Deployment\n\nThis project is **automatically deployed on Vercel** whenever changes are pushed to the `main` branch.\n\n---\n\n## 🧪 Running Tests\n\nThis project uses **Vitest** and **Playwright** for testing:\n\n```sh\nnpm run test       # Run unit tests (Vitest)\nnpm run test:e2e   # Run end-to-end tests (Playwright)\n```\n\n---\n\n## 📜 License\n\nMIT License © 2025 Miguel Diaz\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmigueldcdev%2Fgraphic-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmigueldcdev%2Fgraphic-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmigueldcdev%2Fgraphic-editor/lists"}