{"id":24030219,"url":"https://github.com/symonmuchemi/shopsmart","last_synced_at":"2026-05-04T09:33:08.355Z","repository":{"id":271013223,"uuid":"906126229","full_name":"SymonMuchemi/ShopSmart","owner":"SymonMuchemi","description":"A robust RESTful API for e-commerce operations built with Node.js and MongoDB. Features comprehensive endpoints for product management, secure user authentication, shopping cart operations, and payment integration (MPesa). Designed to support scalable e-commerce applications with detailed documentation for front-end integration.","archived":false,"fork":false,"pushed_at":"2025-04-05T15:13:00.000Z","size":1494,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T10:01:55.241Z","etag":null,"topics":["daraja-api","mongoose","mpesa-payments","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","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/SymonMuchemi.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":"2024-12-20T08:12:04.000Z","updated_at":"2025-08-02T14:24:27.000Z","dependencies_parsed_at":"2025-01-21T23:20:35.629Z","dependency_job_id":"8a6171f3-bd33-47c5-bf6a-25b8c95bf439","html_url":"https://github.com/SymonMuchemi/ShopSmart","commit_stats":null,"previous_names":["symonmuchemi/shopsmart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SymonMuchemi/ShopSmart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SymonMuchemi%2FShopSmart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SymonMuchemi%2FShopSmart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SymonMuchemi%2FShopSmart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SymonMuchemi%2FShopSmart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SymonMuchemi","download_url":"https://codeload.github.com/SymonMuchemi/ShopSmart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SymonMuchemi%2FShopSmart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32601532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["daraja-api","mongoose","mpesa-payments","nodejs","typescript"],"created_at":"2025-01-08T17:30:24.173Z","updated_at":"2026-05-04T09:33:08.325Z","avatar_url":"https://github.com/SymonMuchemi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShopSmart\n\n## Description\n\nA robust RESTful API for e-commerce operations built with Node.js and MongoDB.\n\n\u003c!-- markdownlint-disable MD033 --\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"Smart_Online_Shop_Chart_Logo-shift-no-bg-cropped.png\" alt=\"Shop-smart API Logo\"\u003e\n\u003c/div\u003e\n\n## Features\n\n- [x] User Authentication\n- [x] Product Management\n- [x] image storage\n- [x] Shopping Cart Operations\n- [x] Purchase Management\n- [x] Stripe Payment Integration\n\n## Technologies\n\n- [Node.JS](www.nodejs.org): JavaScript runtime.\n- [Express](https://expressjs.com/): Web framework for Node.js.\n- [Amazon S3](https://aws.amazon.com/s3/): Cloud storage.\n- [Multer](https://www.npmjs.com/package/multer): Middleware for handling multipart/form-data.\n- [AWS EC2](https://aws.amazon.com/ec2/): for deployment.\n- [MongoDB](https://www.mongodb.com/): NoSQL database.\n- [Mongoose](https://mongoosejs.com/): Object Relational Mapper for MongoDB.\n- [JWT](https://jwt.io/): Secure user authentication.\n- [Stripe](https://stripe.com/docs): Payment processing platform.\n\n## Database Design\n\n![database Design](/src/db/db%20design.png)\n\n## Installation\n\n1. Clone the repository from a terminal or command prompt.\n\n   ```bash\n   git clone https://www.github.com/symonmuchemi/ShopSmart.git\n   ```\n\n2. Navigate to the project directory.\n\n   ```bash\n    cd ShopSmart\n    ```\n\n3. Install the project dependencies.\n\n    ```bash\n    npm install\n    ```\n\n4. Create a `.env` file in the root directory and add the following environment variables.\n\n    ```env\n    PORT=3000\n\n    MONGO_DB_URL=mongodb://localhost:3000/shopsmart\n    \n    JWT_SECRET=your_secret_key\n    JWT_EXPIRATION=1d\n\n    STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key\n    STRIPE_SECRET_KEY=your_stripe_secret_key\n\n    S3_BUCKET_REGION='your_s3_bucket_region'\n    S3_BUCKET_NAME='your_s3_bucket_name'\n    S3_ACCESS_KEY='your_s3_access_key_id'\n    S3_SECRET_ACCESS_KEY='your s3_secret_access_key'\n    ```\n\n5. Start the application.\n\n    ```bash\n    npm run dev\n    ```\n\n6. Access the application on `http://localhost:3000`.\n\n\n## Author\n\n[Symon Muchemi](https://www.github.com/symonmuchemi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymonmuchemi%2Fshopsmart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymonmuchemi%2Fshopsmart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymonmuchemi%2Fshopsmart/lists"}