{"id":23303601,"url":"https://github.com/mustafa-hamzawy/ecommerce_api_express.js","last_synced_at":"2026-04-10T00:34:35.395Z","repository":{"id":186171897,"uuid":"671173731","full_name":"MUSTAFA-Hamzawy/eCommerce_api_express.js","owner":"MUSTAFA-Hamzawy","description":"REST API endpoints for e-commerce","archived":false,"fork":false,"pushed_at":"2023-08-04T16:57:14.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T05:19:15.798Z","etag":null,"topics":["ecommerce","expressjs","mongodb","mongoose","nodejs","rest-api"],"latest_commit_sha":null,"homepage":"","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/MUSTAFA-Hamzawy.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}},"created_at":"2023-07-26T17:54:39.000Z","updated_at":"2024-11-21T11:33:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"368d12ea-c432-4f99-abcf-6e0a13c63b95","html_url":"https://github.com/MUSTAFA-Hamzawy/eCommerce_api_express.js","commit_stats":null,"previous_names":["mustafa-hamzawy/ecommerce_api_express.js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MUSTAFA-Hamzawy%2FeCommerce_api_express.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MUSTAFA-Hamzawy%2FeCommerce_api_express.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MUSTAFA-Hamzawy%2FeCommerce_api_express.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MUSTAFA-Hamzawy%2FeCommerce_api_express.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MUSTAFA-Hamzawy","download_url":"https://codeload.github.com/MUSTAFA-Hamzawy/eCommerce_api_express.js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247564066,"owners_count":20958996,"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":["ecommerce","expressjs","mongodb","mongoose","nodejs","rest-api"],"created_at":"2024-12-20T11:13:09.635Z","updated_at":"2025-12-30T20:23:29.821Z","avatar_url":"https://github.com/MUSTAFA-Hamzawy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr/\u003e\n\n## Table Of Contents\n\n- [About The Project](#about-the-project)\n- [Features](#features)\n- [API Docs](#api-docs)\n- [Built With](#built-with)\n- [Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n- [License](#license)\n\n## About The Project\n\nREST API for ecommerce using Node.js, Express.js, and MongDB.\n\n\u003cstrong\u003ePlease read the \"Getting Started\" section before opening an issue.\u003c/strong\u003e\n\n## Features\n- Authentication System ( login, logout, register )\n- CRUD operations for brands.\n- CRUD operations for Categories.\n- CRUD operations for Products.\n- Cart Logic.\n- Order Logic.\n- Search Functionality.\n\n## API Docs\n\u003ca href=\"https://documenter.getpostman.com/view/17672386/2s9XxyQsn1#8dad336f-8256-4e8e-bd5a-1d92781df681\" target=\"_blank\"\u003e Link to api docs \u003c/a\u003e\n\n## Built With\n\n* Node.js\n* Express.js\n* MongoDB | Mongoose\n\n## Getting Started\n\nTo get a local copy up and running follow these simple steps.\n\n### Prerequisites\n\n* Node.js\n* Express.js\n* MongoDB\n\n### Installation\n\n1. Clone the repo\n\n```sh\n    git clone https://github.com/MUSTAFA-Hamzawy/eCommerce_api_express.js.git\n```\n\n2. Make your own copy of the .env file (To set your own environmental variables).\n```sh\n    cp .env.example .env\n \n    PORT= 3005\n    CONNECTION_STRING= your db connection string\n    JWT_ACCESS_TOKEN_KEY= generate it (run node in terminal --\u003e require('crypto').randomBytes(60).toString('hex')\n    JWT_REFRESH_TOKEN_KEY= generate it (run node in terminal --\u003e require('crypto').randomBytes(60).toString('hex')\n    ACCESS_TOKEN_EXPIRED_TIME  // 15m is recommended\n    REFRESH_TOKEN_EXPIRED_TIME // Set duration as you like ( examples: 18h, 2d )\n```\n\n3. Install dependecies\n\n```sh\n    npm install\n```\n4. Seed Database\n\n```sh\n    npm run seed\n```\n5. Start Running\n```sh\n    npm start\n```\n\n\n## License\nSee [LICENSE](https://github.com/MUSTAFA-Hamzawy/eCommerce_api_express.js/blob/main/LICENSE) for more information.\n- MIT License\n- Copyright 2020 © [Mustafa Hamzawy](https://github.com/MUSTAFA-Hamzawy)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafa-hamzawy%2Fecommerce_api_express.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmustafa-hamzawy%2Fecommerce_api_express.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafa-hamzawy%2Fecommerce_api_express.js/lists"}