{"id":25734255,"url":"https://github.com/tarek99samy/ecommerce-backend","last_synced_at":"2026-04-10T12:32:18.161Z","repository":{"id":279511455,"uuid":"939056746","full_name":"tarek99samy/ecommerce-backend","owner":"tarek99samy","description":"An API for a generic E-Commerce Website","archived":false,"fork":false,"pushed_at":"2025-02-25T23:55:13.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T22:52:17.611Z","etag":null,"topics":["circleci","expressjs","jwt","mysql","nodejs","redis"],"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/tarek99samy.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-02-25T23:23:05.000Z","updated_at":"2025-02-25T23:55:16.000Z","dependencies_parsed_at":"2025-02-26T00:25:44.568Z","dependency_job_id":"dbc1f313-af70-4b10-9d84-27b3d348a7fb","html_url":"https://github.com/tarek99samy/ecommerce-backend","commit_stats":null,"previous_names":["tarek99samy/ecommerce-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tarek99samy/ecommerce-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarek99samy%2Fecommerce-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarek99samy%2Fecommerce-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarek99samy%2Fecommerce-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarek99samy%2Fecommerce-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarek99samy","download_url":"https://codeload.github.com/tarek99samy/ecommerce-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarek99samy%2Fecommerce-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31642784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["circleci","expressjs","jwt","mysql","nodejs","redis"],"created_at":"2025-02-26T04:33:58.673Z","updated_at":"2026-04-10T12:32:18.141Z","avatar_url":"https://github.com/tarek99samy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-Commerce Backend\n\n\u003e A Node.js (Express) backend for a multi-language e-commerce platform similar to Dubizzle. It features MySQL for data storage, JWT authentication, Redis caching, and Google Translate for multi-language support. The project includes validation with JOI, code consistency with ESLint \u0026 Prettier, and CircleCI integration for automated CI/CD deployment.\n\nKey Features:\nSecure authentication with JWT\nEfficient caching with Redis\nAutomated deployment via CircleCI\nMulti-language support with Google Translate\nWhatsApp OTP messaging integration\n\n\n## Technologies Used:\n\n- NodeJS (ExpressJS)\n- MySQL\n- JWT\n- Redis\n- JOI for validations\n- Google Translate\n- ESLint and Prettier for code formatting consistency\n- integrating circleCI for connection with private cloud machine to automat CI/CD process\n\n## Run for development:\n1. Make sure `redis` installed and running correctly\n2. Create an .env.development file having following keys:\n```sh\nNODE_ENV=development\nPORT=8000 # or any other port\nJWT_SECRET=...\nDB_HOST=...\nDB_PORT=...\nDB_USER=...\nDB_NAME=...\nDB_CONNECTION_LIMIT=...\nREDIS_URL=redis://localhost:6379 # or used URL\nCACHE_EXPIRE_TIME=...\n# i used \"api.4whats.net\" for WhatsApp OTP messaging \nWA_INSTANCE_ID=...\nWA_TOKEN=...\nUPLOADS_DIR=/[website]/uploads/ # replace [website] with your website name\n```\n3. Clone and install dependencies\n```sh\ngit clone https://github.com/tarek99samy/ecommerce-backend.git\ncd ecommerce-backend\nnpm install\n```\n4. Run script\n```sh\nnpm run start\n```\n\n## Run for production:\n\u003e Just create another .env.production file having corresponding keys and it will be ready for deployment\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarek99samy%2Fecommerce-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarek99samy%2Fecommerce-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarek99samy%2Fecommerce-backend/lists"}