{"id":27423730,"url":"https://github.com/rsc-labs/medusa-wishlist","last_synced_at":"2025-04-14T10:55:50.449Z","repository":{"id":272492145,"uuid":"914918746","full_name":"RSC-Labs/medusa-wishlist","owner":"RSC-Labs","description":"Medusa Wishlist provides functionality which stores wishlist items in a list, which can be then shared with others.","archived":false,"fork":false,"pushed_at":"2025-02-26T18:15:52.000Z","size":26,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T12:37:53.883Z","etag":null,"topics":["medusa-plugin","medusa-plugin-other","medusajs","medusajs-v2"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/RSC-Labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2025-01-10T15:22:44.000Z","updated_at":"2025-03-24T07:23:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"317b8011-1149-4a26-ad64-14e76648e49f","html_url":"https://github.com/RSC-Labs/medusa-wishlist","commit_stats":null,"previous_names":["rsc-labs/medusa-wishlist"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSC-Labs%2Fmedusa-wishlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSC-Labs%2Fmedusa-wishlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSC-Labs%2Fmedusa-wishlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSC-Labs%2Fmedusa-wishlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RSC-Labs","download_url":"https://codeload.github.com/RSC-Labs/medusa-wishlist/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868824,"owners_count":21174757,"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":["medusa-plugin","medusa-plugin-other","medusajs","medusajs-v2"],"created_at":"2025-04-14T10:55:49.119Z","updated_at":"2025-04-14T10:55:50.442Z","avatar_url":"https://github.com/RSC-Labs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Medusa Wishlist\n\n## What is it?\n\nMedusa Wishlist provides functionality which stores wishlist items in a list, which can be then shared with others.\n\n## Installation\n\n\n1. Install plugin by adding to your `package.json`:\n\n```json\n...\n\"@rsc-labs/medusa-wishlist\": \"0.0.3\" // or other available version\n...\n```\nand execute install, e.g. `yarn install`.\n\n2. Add plugin to your `medusa-config.js`:\n\n```js\n...\nplugins: [\n    {\n      resolve: \"@rsc-labs/medusa-wishlist\",\n      options: {}\n    }\n]\n...\n```\nor\n```js\n...\nplugins: [\"@rsc-labs/medusa-wishlist\"]\n...\n```\n\n### Database migration\n\nMedusa Wishlist introduces new models in database. To have it working, you need to firstly execute migrations:\n```bash\nnpx medusa db:migrate\n```\n\n### Copy the code\n\nYou can copy the code from /src into your Medusa project.\n\nAdd module to `medusa-config.js`:\n\n```js\n  {\n    resolve: \"./modules/wishlist\",\n  }\n```\n\nUpdate your `package.json`: \n\n```json\n\"dependencies\": {\n  ...\n  \"jsonwebtoken\": \"^9.0.2\"\n}\n```\n\n### Database migration\n\nMedusa Wishlist introduces new models in database. To have it working, you need to firstly execute migrations:\n```bash\nnpx medusa db:migrate\n```\n\n## Overview\n\nEverything is covered by the API definition - details are here: [Store API](./docs/api.yaml).\n\nIn short - every customer has wishlist entity created automatically when first item is being added.\nItems can added, updated (e.g. by quantity) or deleted.\nWishlist can be shared by using token.\n\n## Configuration\n\n### Update JWT secret\n\nSharing functionality uses JWT to generate a token. To have it properly working, you shall set `jwtSecret` in options, e.g.:\n```js\n  {\n    resolve: \"@rsc-labs/medusa-wishlist\",\n    options: {\n      jwtSecret: 'supersecret'\n    }\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsc-labs%2Fmedusa-wishlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsc-labs%2Fmedusa-wishlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsc-labs%2Fmedusa-wishlist/lists"}