{"id":25812337,"url":"https://github.com/codeekage/shopify-internship","last_synced_at":"2025-02-28T01:53:37.202Z","repository":{"id":54984368,"uuid":"328847429","full_name":"codeekage/shopify-internship","owner":"codeekage","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-20T17:48:13.000Z","size":571,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-17T15:10:00.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/codeekage.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}},"created_at":"2021-01-12T02:18:22.000Z","updated_at":"2024-04-17T15:10:00.812Z","dependencies_parsed_at":"2022-08-14T08:10:34.928Z","dependency_job_id":null,"html_url":"https://github.com/codeekage/shopify-internship","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeekage%2Fshopify-internship","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeekage%2Fshopify-internship/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeekage%2Fshopify-internship/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeekage%2Fshopify-internship/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeekage","download_url":"https://codeload.github.com/codeekage/shopify-internship/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241086978,"owners_count":19907367,"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-02-28T01:53:36.224Z","updated_at":"2025-02-28T01:53:37.195Z","avatar_url":"https://github.com/codeekage.png","language":"JavaScript","funding_links":["https://developer.paypal.com/docs/integration/direct/payments/paypal-payments/"],"categories":[],"sub_categories":[],"readme":"# Shopify Internship\n## Task: Image Repository\n\nHey, Welcome 👋 . \n\nThe project in this repository attempts to complete Shopify Internship using Node.js - Image Repository Task.\n\n## The task attempted\n\n ### Add Image(s) to repository\n    - one / bulk / enormous amount of images\n    - private or public (permissions)\n    - secure uploading and stored images\n\n  ### SELL/BUY images\n    - ability to manage inventory\n    - set price\n    - discounts\n    - handle money\n    \n## Technologies\n  - Node.js\n  - Mongo\n  - PayPal \n  - Cloudinary\n  - AWS S3 Buckets\n  - Heroku\n  - Redis\n\n######\n\n\u003e Diagram depicts some core functionalities of the application\n\n###  Add Image(s)\n\n![Upload Image](https://res.cloudinary.com/codeekagexdalia/image/upload/v1610790726/Adding_Images_ybx9eh.png)\n\n\n\n                                Fig 1.0 Uploading Images to AWS S3 and Add Watermark with Cloudinary \n\n### Sell/Buy Image(s)\n![Handle Money](https://res.cloudinary.com/codeekagexdalia/image/upload/v1610791099/handlemoney-Page-2_gffpix.png)\n\n                                Fig 2.0 Handling Money and Generating Downloadable Link\n\n##### Authentication \n\u003e The application locks out Client's IPs after five (5) unsuccessful logins. Be careful when choosing a password and username.\n\n### Running the application (Backend Service):\n\nThe application has no interactive frontend UI. Ergo, you'll need [PostMan](https://www.postman.com/downloads/) installed to run the service successfully.\n\nLike to run locally? You'll need more than PostMan. Kindly install\n- Node.js\n- Redis\n\n### Install Dependencies\n```shell \n  npm i\n```\n\n### Start Local Server\n\n```shell\n  npm run server \n```\n\nor \n\n```shell\n  npm start\n```\n\n\u003e Make sure you add `.env` file in the root directory of the project else everything fails.\n  You'll need to use your configurations and tokens for service depicted in `.env.example`. Some service includes [Cloudinary](https://cloudinary.com/documentation/node_integration), [AWS S3](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/s3-example-creating-buckets.html), and [PayPal](https://developer.paypal.com/docs/integration/direct/payments/paypal-payments/).\n  \n  \u003e *Please, kindly head over to the respective documentation and see how to obtain security credentials for the service.*\n\n### PostMan\n\nHere's a [PostMan Collection](https://www.getpostman.com/collections/2ea47ca12c438c2b6031) and [Environment](https://drive.google.com/drive/folders/1LwaosnNPtmSEcmcsFPE4P1ie5tiCYAU8?usp=sharing) to make your life a lot easier when running the service.\n\n### API Resource\n\n### Base URL \n- https://shopify-internship-staging.herokuapp.com (staging)\n- https://shopify-internship.herokuapp.com (prod)\n- http://localhost:9000/v1 (local)\n\n\n### API Documentation \n- [Docs](https://shopifyinternship.gitbook.io/imagerepository/)\n- [PostMan Docs](https://documenter.getpostman.com/view/2893258/TVzVhvcx#1ccbde2e-ba01-4831-862f-088da2527d8e)\n\n### Having Troubles? \n  - Contact me via [email](mailto://agiriabrahamjunior@gmail.com) or [twitter](https://twitter.com/@codeekage) \n  - Open a ticket or a PR.  Thank you. ☕️ \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeekage%2Fshopify-internship","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeekage%2Fshopify-internship","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeekage%2Fshopify-internship/lists"}