{"id":23879175,"url":"https://github.com/maxdenuevo/amigift","last_synced_at":"2025-06-22T18:04:20.031Z","repository":{"id":264928626,"uuid":"892321672","full_name":"maxdenuevo/amigift","owner":"maxdenuevo","description":"Modern, bilingual Secret Santa web application built with React (Vite) and Flask","archived":false,"fork":false,"pushed_at":"2025-01-03T02:57:22.000Z","size":22772,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T18:02:53.688Z","etag":null,"topics":["flask","flask-mail","flask-sqlalchemy","reactjs","reactrouter","tailwindcss"],"latest_commit_sha":null,"homepage":"https://www.amigift.com","language":"Python","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/maxdenuevo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","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-11-21T22:32:36.000Z","updated_at":"2025-01-03T02:57:31.000Z","dependencies_parsed_at":"2025-01-03T03:44:15.125Z","dependency_job_id":null,"html_url":"https://github.com/maxdenuevo/amigift","commit_stats":null,"previous_names":["maxdenuevo/secrete","maxdenuevo/amigift"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxdenuevo/amigift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdenuevo%2Famigift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdenuevo%2Famigift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdenuevo%2Famigift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdenuevo%2Famigift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxdenuevo","download_url":"https://codeload.github.com/maxdenuevo/amigift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdenuevo%2Famigift/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261338954,"owners_count":23143891,"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":["flask","flask-mail","flask-sqlalchemy","reactjs","reactrouter","tailwindcss"],"created_at":"2025-01-03T22:19:59.023Z","updated_at":"2025-06-22T18:04:15.017Z","avatar_url":"https://github.com/maxdenuevo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://skillicons.dev/icons?i=react\" height=\"40\" alt=\"react logo\"  /\u003e Amigift - Bilingual Secret Santa App\n\nModern, bilingual Secret Santa web application built with React (Vite) and Flask.\n\n## Features\n\n- Bilingual support (ES/EN) - \"Secret Santa\" / \"Amigo Secreto\"\n- Mobile-first, responsive design\n- Dark mode by default with theme switching\n- Custom participant restrictions\n- Price range voting with visualizations\n- Email notifications\n- Persistent group links with UUID\n- Maximum 20 participants per group\n\n## Tech Stack\n\n### Frontend\n\n- React 18 with Vite\n- React Router for navigation\n- Tailwind CSS for styling\n- i18next for translations\n- Heroicons for icons\n- Axios for API calls\n\n### Backend\n\n- Flask\n- MySQL database\n- Flask-SQLAlchemy\n- Flask-Mail for notifications\n\n## Project Structure\n\n```\namigift/\n├── frontend/\n│   ├── index.html\n│   ├── vite.config.js\n│   ├── tailwind.config.js\n│   ├── postcss.config.js\n│   ├── public/\n│   │   ├── locales/           # Translation files\n│   │   │   ├── en/\n│   │   │   └── es/\n│   │   └── assets/            # Static assets\n│   └── src/\n│       ├── main.jsx           # Application entry\n│       ├── App.jsx            # Root component\n│       ├── router.jsx         # Route definitions\n│       ├── components/        # UI components\n│       │   ├── layout/\n│       │   ├── forms/\n│       │   └── charts/\n│       ├── pages/             # Route components\n│       ├── context/           # Global state\n│       ├── hooks/             # Custom hooks\n│       ├── utils/             # Helper functions\n│       └── api/               # API client\n│\n├── backend/\n│   ├── .env                   # Backend environment variables\n│   ├── requirements.txt       # Python dependencies\n│   ├── app.py                 # Main Flask application\n│   ├── config.py              # Configuration settings\n│   ├── models/                # Database models\n│   │   ├── group.py\n│   │   ├── participant.py\n│   │   └── restriction.py\n│   ├── routes/                # API routes\n│   │   ├── auth.py\n│   │   ├── groups.py\n│   │   └── participants.py\n│   ├── services/              # Business logic\n│   │   ├── matching_service.py\n│   │   ├── email_service.py\n│   │   └── restriction_service.py\n│   └── utils/                 # Utility functions\n│       ├── validators.py\n│       └── helpers.py\n│\n├── database/                  # Database related files\n│   ├── migrations/            # Database migrations\n│   └── schema.sql             # Database schema\n│\n└── docs/                      # Documentation\n    ├── README.md\n    ├── API.md\n    ├── CONTRIBUTING.md\n    └── DEPLOYMENT.md\n```\n\n## Prerequisites\n\n- Node.js 18+\n- Python 3.8+\n- MySQL 8+\n\n## Installation\n\n1. Clone and set up frontend:\n\n```bash\ncd frontend\nnpm install\ncp .env.example .env\nnpm run dev\n```\n\n2. Set up backend:\n\n```bash\ncd backend\npython -m venv venv\nsource venv/bin/activate  # Windows: .\\venv\\Scripts\\activate\npip install -r requirements.txt\ncp .env.example .env\npython app.py\n```\n\n3. Configure environment variables:\n\n- Frontend (.env):\n  ```\n  VITE_API_URL=http://localhost:5000\n  ```\n- Backend (.env):\n  ```\n  DB_HOST=localhost\n  DB_USER=your_user\n  DB_PASSWORD=your_password\n  DB_NAME=secrete\n  ```\n\n## Development\n\n```bash\n# Frontend\nnpm run dev         # Start dev server\nnpm run build      # Production build\nnpm run preview    # Preview build\n\n# Backend\nflask run --debug  # Start dev server\n```\n\n## License\n\nMIT License - see LICENSE for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdenuevo%2Famigift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxdenuevo%2Famigift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdenuevo%2Famigift/lists"}