{"id":24957385,"url":"https://github.com/ramirezpineda/backend-belibeli","last_synced_at":"2025-04-15T13:54:16.998Z","repository":{"id":242981633,"uuid":"790189420","full_name":"RamirezPineda/backend-belibeli","owner":"RamirezPineda","description":"An e-commerce project to sell products online.","archived":false,"fork":false,"pushed_at":"2024-07-09T21:38:39.000Z","size":275,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T20:46:45.589Z","etag":null,"topics":["ecommerce","express","node","node-ecommerce","nodejs","prisma","typescript","vitest","zod"],"latest_commit_sha":null,"homepage":"https://backend-belibeli.onrender.com/api/v1","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/RamirezPineda.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-04-22T12:30:31.000Z","updated_at":"2025-03-22T13:00:49.000Z","dependencies_parsed_at":"2024-06-19T22:14:29.348Z","dependency_job_id":"a923323c-e315-4e9d-891a-8e4e9ff4cd91","html_url":"https://github.com/RamirezPineda/backend-belibeli","commit_stats":null,"previous_names":["ramirezpineda/backend-belibeli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamirezPineda%2Fbackend-belibeli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamirezPineda%2Fbackend-belibeli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamirezPineda%2Fbackend-belibeli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamirezPineda%2Fbackend-belibeli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamirezPineda","download_url":"https://codeload.github.com/RamirezPineda/backend-belibeli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249085476,"owners_count":21210267,"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","express","node","node-ecommerce","nodejs","prisma","typescript","vitest","zod"],"created_at":"2025-02-03T07:00:30.053Z","updated_at":"2025-04-15T13:54:16.969Z","avatar_url":"https://github.com/RamirezPineda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\u003ch1 align=\"center\"\u003eEcommerce BeliBeli (Backend)\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Node-20.12.x-green\"\u003e\n  \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/TypeScript-5.4.x-blue\"\u003e\n  \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/pnpm-9.x-yellow\"\u003e\n  \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Express-4.19.x-black\"\u003e\n  \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Test-Vitest-yellow\"\u003e\n  \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/ESLint-4930bd\"\u003e\n\u003c/p\u003e\n\n\n## Description\n\nAn e-commerce project to sell products online.\n\n## Previous requirements\n\n**Node version \u003e=20.12.0**\n\n## Installation\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/RamirezPineda/backend-belibeli.git\n```\n\n2. Navigate to the application directory:\n\n```bash\ncd backend-belibeli\n```\n3. Install the project dependencies:\n\n```bash\nnpm install\n```\n\n## Configuration\n\nRename the .env.example file to .env and set the environment variables\n\n```bash\n# before\n|--src\n|--tests\n|--.env.example\n...\n...\n...\n|--vitest.config.ts\n\n# after\n|--src\n|--tests\n|--.env\n...\n...\n...\n|--vitest.config.ts\n```\nRun the database migration script\n\n```bash\nnpm run db:migrate\n```\n\n## Running the app\n\n```bash\n# development\nnpm run dev\n\n# production\nnpm run build\nnpm run start\n```\n\n## Test\n\n```bash\n# unit tests\nnpm run test\n\n# test coverage\nnpm run test:coverage\n```\n\n## Linting\n\nTo run the linter you can execute:\n\n```bash\nnpm run lint\n```\n\nAnd for trying to fix lint issues automatically, you can run: \n\n```bash\nnpm run lint:fix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framirezpineda%2Fbackend-belibeli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framirezpineda%2Fbackend-belibeli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framirezpineda%2Fbackend-belibeli/lists"}