{"id":15170454,"url":"https://github.com/renatozr/store-manager-api","last_synced_at":"2026-02-22T16:07:52.733Z","repository":{"id":253341584,"uuid":"843112185","full_name":"renatozr/store-manager-api","owner":"renatozr","description":"An API that manages products and sales from a store","archived":false,"fork":false,"pushed_at":"2024-08-16T03:05:05.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T03:02:56.997Z","etag":null,"topics":["chai","expressjs","joi-validation","mocha","mysql","sinon"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/renatozr.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}},"created_at":"2024-08-15T20:05:06.000Z","updated_at":"2024-08-16T03:05:08.000Z","dependencies_parsed_at":"2024-08-16T04:22:38.125Z","dependency_job_id":null,"html_url":"https://github.com/renatozr/store-manager-api","commit_stats":null,"previous_names":["renatozr/store-manager-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renatozr/store-manager-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatozr%2Fstore-manager-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatozr%2Fstore-manager-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatozr%2Fstore-manager-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatozr%2Fstore-manager-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renatozr","download_url":"https://codeload.github.com/renatozr/store-manager-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatozr%2Fstore-manager-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29717912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"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":["chai","expressjs","joi-validation","mocha","mysql","sinon"],"created_at":"2024-09-27T08:02:58.330Z","updated_at":"2026-02-22T16:07:52.716Z","avatar_url":"https://github.com/renatozr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- PROJECT LOGO --\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ch3 align=\"center\"\u003eStore Manager API\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    An API that manages products and sales from a store\n    \u003cbr /\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\n## About The Project\n\nTo exercise RESTful API development, unit testing, JOI validation and MySQL.\n\n\u003c!-- GETTING STARTED --\u003e\n\n## Getting Started\n\n### Prerequisites\n\n- NPM\n- MySQL\n\n### Installation\n\n1. Clone the repo\n   ```sh\n   git clone git@github.com:renatozr/store-manager-api.git\n   ```\n2. Enter the directory\n   ```sh\n   cd store-manager-api\n   ```\n3. Install NPM packages\n   ```sh\n   npm install\n   ```\n4. Rename .env.example file to .env\n5. Fill in the environment variables (example below)\n   ```sh\n   PORT=3001\n   MYSQL_HOST=localhost\n   MYSQL_PORT=3306\n   MYSQL_USER=root\n   MYSQL_PASSWORD=password\n   ```\n6. Setup database\n   ```sh\n   npm run initdb\n   ```\n7. Run the project\n   ```sh\n   npm run dev\n   ```\n8. Run the project tests\n   ```sh\n   npm test\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenatozr%2Fstore-manager-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenatozr%2Fstore-manager-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenatozr%2Fstore-manager-api/lists"}