{"id":51570405,"url":"https://github.com/boopi7/gift","last_synced_at":"2026-07-10T19:01:55.446Z","repository":{"id":339021669,"uuid":"1129127213","full_name":"Boopi7/gift","owner":"Boopi7","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-06T17:13:50.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-17T20:51:44.996Z","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/Boopi7.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-06T16:36:27.000Z","updated_at":"2026-01-06T17:13:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Boopi7/gift","commit_stats":null,"previous_names":["boopi7/gift"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Boopi7/gift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boopi7%2Fgift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boopi7%2Fgift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boopi7%2Fgift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boopi7%2Fgift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Boopi7","download_url":"https://codeload.github.com/Boopi7/gift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boopi7%2Fgift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35339931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"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":"2026-07-10T19:01:54.559Z","updated_at":"2026-07-10T19:01:55.433Z","avatar_url":"https://github.com/Boopi7.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c\u003c\u003c\u003c\u003c\u003c\u003c HEAD\n# Valentine Gift Store\n\nAn AI-powered online gift store for Valentine's Day with separate Frontend and Backend architecture.\n\n## Project Structure\n\n```\nvalentine-gift-store/\n├── frontend/          # Next.js frontend application\n├── backend/           # Express.js backend API server\n├── package.json       # Root package.json for managing both projects\n└── README.md\n```\n\n## Features\n\n- **Gift Finder**: Users input their friend's information (gender, age, nationality, job) and receive AI-matched gift suggestions\n- **Admin Panel**: Store owners can add, view, and manage gifts in the inventory\n- **Image Upload**: Upload gift images directly from your computer\n- **Smart Matching**: Gift suggestions are ranked based on relevance to the provided information\n- **Separate Frontend/Backend**: Clean separation of concerns with independent services\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 18+ and npm\n\n### Installation\n\nInstall all dependencies (frontend + backend):\n```bash\nnpm install\n```\n\nThis will automatically install dependencies for both frontend and backend.\n\n### Running the Application\n\n#### Development Mode (both frontend and backend):\n```bash\nnpm run dev\n```\n\n#### Start the application (development mode):\n```bash\nnpm start\n```\n\nNote: For production mode, build first with `npm run build`, then run `npm run start:backend` and `npm run start:frontend` separately.\n\n#### Run separately (in separate terminals):\n\n**Terminal 1 - Backend:**\n```bash\nnpm run dev:backend\n```\nBackend will run on http://localhost:3001\n\n**Terminal 2 - Frontend:**\n```bash\nnpm run dev:frontend\n```\nFrontend will run on http://localhost:3000\n\n### Building for Production\n\n```bash\nnpm run build\n```\n\n## Project Structure Details\n\n### Frontend (`/frontend`)\n- Next.js 14 with TypeScript\n- Tailwind CSS for styling\n- React components for UI\n- API client for backend communication\n\n### Backend (`/backend`)\n- Express.js server\n- Multer for image upload handling\n- JSON file-based storage (can be easily migrated to database)\n- RESTful API endpoints\n\n## API Endpoints\n\n- `GET /api/gifts` - Get all gifts\n- `GET /api/suggest-gifts?sex=...\u0026age=...\u0026national=...\u0026job=...` - Get gift suggestions\n- `POST /api/gifts` - Add new gift (supports multipart/form-data for image upload)\n- `DELETE /api/gifts/:id` - Delete a gift\n\n## Usage\n\n### For Users\n1. Fill in your friend's information (gender, age, nationality, job)\n2. Click \"Find Perfect Gifts\" to see personalized suggestions\n3. Browse through the recommended gifts with images\n\n### For Store Owners\n1. Navigate to the Admin page\n2. Click \"Add New Gift\" to add items to the store\n3. Upload an image file or provide an image URL\n4. Fill in gift details including optional filters (gender, age range, nationalities, jobs)\n5. Manage your gift inventory from the admin panel\n\n## Image Storage\n\n- Uploaded images are stored in `backend/images/`\n- Images are accessible via `http://localhost:3001/images/{filename}`\n- Image files are automatically deleted when a gift is removed\n\n## Technology Stack\n\n**Frontend:**\n- Next.js 14 (App Router)\n- TypeScript\n- Tailwind CSS\n\n**Backend:**\n- Express.js\n- Multer (file upload)\n- Node.js ES Modules\n=======\n# Gift Store\n\n\n\n## Getting started\n\nTo make it easy for you to get started with GitLab, here's a list of recommended next steps.\n\nAlready a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!\n\n## Add your files\n\n* [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files\n* [Add files using the command line](https://docs.gitlab.com/topics/git/add_files/#add-files-to-a-git-repository) or push an existing Git repository with the following command:\n\n```\ncd existing_repo\ngit remote add origin https://gitlab.com/my-sites8293802/gift-store.git\ngit branch -M main\ngit push -uf origin main\n```\n\n## Integrate with your tools\n\n* [Set up project integrations](https://gitlab.com/my-sites8293802/gift-store/-/settings/integrations)\n\n## Collaborate with your team\n\n* [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)\n* [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)\n* [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)\n* [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)\n* [Set auto-merge](https://docs.gitlab.com/user/project/merge_requests/auto_merge/)\n\n## Test and Deploy\n\nUse the built-in continuous integration in GitLab.\n\n* [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/)\n* [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)\n* [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)\n* [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)\n* [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)\n\n***\n\n# Editing this README\n\nWhen you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.\n\n## Suggestions for a good README\n\nEvery project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.\n\n## Name\nChoose a self-explaining name for your project.\n\n## Description\nLet people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.\n\n## Badges\nOn some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.\n\n## Visuals\nDepending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.\n\n## Installation\nWithin a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.\n\n## Usage\nUse examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.\n\n## Support\nTell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.\n\n## Roadmap\nIf you have ideas for releases in the future, it is a good idea to list them in the README.\n\n## Contributing\nState if you are open to contributions and what your requirements are for accepting them.\n\nFor people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.\n\nYou can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.\n\n## Authors and acknowledgment\nShow your appreciation to those who have contributed to the project.\n\n## License\nFor open source projects, say how it is licensed.\n\n## Project status\nIf you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e 9249715bfa6c627c2827e6168b94d517d359891d\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboopi7%2Fgift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboopi7%2Fgift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboopi7%2Fgift/lists"}