{"id":27628119,"url":"https://github.com/devferx/mi-patito-store","last_synced_at":"2025-04-23T14:05:16.551Z","repository":{"id":288852147,"uuid":"965385410","full_name":"devferx/mi-patito-store","owner":"devferx","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-20T00:19:01.000Z","size":267,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T01:24:41.080Z","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/devferx.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-04-13T03:33:10.000Z","updated_at":"2025-04-20T00:19:04.000Z","dependencies_parsed_at":"2025-04-20T01:24:44.538Z","dependency_job_id":"aed7b00a-26d6-4f5d-b67e-bdcacdbe734b","html_url":"https://github.com/devferx/mi-patito-store","commit_stats":null,"previous_names":["devferx/mi-patito-store"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devferx%2Fmi-patito-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devferx%2Fmi-patito-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devferx%2Fmi-patito-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devferx%2Fmi-patito-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devferx","download_url":"https://codeload.github.com/devferx/mi-patito-store/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250447932,"owners_count":21432164,"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-04-23T14:05:15.663Z","updated_at":"2025-04-23T14:05:16.539Z","avatar_url":"https://github.com/devferx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mi Patito Store\n\n![screenshot](https://i.ibb.co/HT6CMZw1/573-1x-shots-so.png)\n\n## Project Description\nMi Patito Store is a full-stack e-commerce application designed to manage and sell duck-related products. The project is divided into two main parts:\n\n- **Backend**: Handles server-side logic, database interactions, and APIs.\n- **Frontend**: Provides a user-friendly interface for managing inventory and interacting with the application.\n\n## Technologies Used\n\n### Backend\n- **Node.js**: JavaScript runtime for building the server-side application.\n- **TypeScript**: Strongly typed programming language for better code quality.\n- **Prisma**: ORM for database management and migrations.\n- **Express.js**: Web framework for building RESTful APIs.\n- **Docker**: Containerization for consistent development and deployment environments.\n\n### Frontend\n- **React**: JavaScript library for building user interfaces.\n- **TypeScript**: Strongly typed programming language for better code quality.\n- **Vite**: Fast build tool for modern web projects.\n- **Tailwind CSS**: Utility-first CSS framework for styling.\n- **Zod**: Schema validation for form inputs.\n\n## Features\n- Inventory management for ducks (add, edit, delete, and list).\n- Dynamic price calculation based on quantity, package type, and shipping method.\n- Responsive user interface built with React, Tailwind CSS, and Vite.\n- Form validation using react-hook-form and Zod.\n- Full integration between backend and frontend.\n\n## Installation Guide\n\n### Backend\n\n1. **Navigate to the backend directory**:\n   ```bash\n   cd mi-patito-store/backend\n   ```\n2. **Install dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Set up the database**:\n   - Ensure Docker is installed and running.\n   - Start the database using Docker Compose:\n     ```bash\n     docker-compose up -d\n     ```\n\n4. **Run database migrations**:\n   ```bash\n   npx prisma migrate dev\n   ```\n\n5. **Start the development server**:\n   ```bash\n   npm run dev\n   ```\n\n### Frontend\n1. **Navigate to the frontend directory**:\n   ```bash\n   cd mi-patito-store/frontend\n   ```\n\n2. **Install dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Start the development server**:\n   ```bash\n   npm run dev\n   ```\n\n4. **Access the application**:\n   Open your browser and navigate to `http://localhost:5173`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevferx%2Fmi-patito-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevferx%2Fmi-patito-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevferx%2Fmi-patito-store/lists"}