{"id":19369305,"url":"https://github.com/judevector/e-commerce-api","last_synced_at":"2026-04-13T06:03:47.016Z","repository":{"id":218100735,"uuid":"744994184","full_name":"judeVector/e-commerce-api","owner":"judeVector","description":"This is an E-Commerce  API built with nodejs, express and typescript with testing using supertest and metrics added into it","archived":false,"fork":false,"pushed_at":"2024-03-22T14:15:24.000Z","size":821,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T22:53:32.482Z","etag":null,"topics":["express","jest","mongodb","nodejs","rest-api","supertest","typescript","zod"],"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/judeVector.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-01-18T12:32:51.000Z","updated_at":"2024-03-22T14:08:38.000Z","dependencies_parsed_at":"2024-02-15T20:23:59.562Z","dependency_job_id":"0a3d3dae-ec46-4e97-9a0f-71de69e69628","html_url":"https://github.com/judeVector/e-commerce-api","commit_stats":null,"previous_names":["judevector/rest-api-typescript","judevector/e-commerce-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judeVector%2Fe-commerce-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judeVector%2Fe-commerce-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judeVector%2Fe-commerce-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/judeVector%2Fe-commerce-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/judeVector","download_url":"https://codeload.github.com/judeVector/e-commerce-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240491826,"owners_count":19809977,"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":["express","jest","mongodb","nodejs","rest-api","supertest","typescript","zod"],"created_at":"2024-11-10T08:10:31.698Z","updated_at":"2026-04-13T06:03:46.976Z","avatar_url":"https://github.com/judeVector.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-Commerce API\n\n![E Commerce API](e-commerce-api.png)\n\n## Overview\n\nWelcome to **e-commerce-api**, a robust REST API developed with Node.js, TypeScript, Express, and MongoDB. This API empowers you to efficiently manage users, sessions, and products with ease.\n\n## Features\n\n- **User Management**\n  - Create a new user: `POST /api/users`\n  - Validate user input: `validate(createUserSchema)`\n- **Session Management**\n  - Create a new session: `POST /api/sessions`\n  - Get user sessions: `GET /api/sessions` (requires user authentication)\n  - Delete a session: `DELETE /api/sessions` (requires user authentication)\n  - Validate session input: `validate(createSessionSchema)`\n- **Product Management**\n  - Create a new product: `POST /api/products` (requires user authentication)\n  - Update a product: `PUT /api/products/:productId` (requires user authentication)\n  - Get a product by ID: `GET /api/products/:productId`\n  - Delete a product: `DELETE /api/products/:productId` (requires user authentication)\n  - Validate product input: `validate(createProductSchema)`, `validate(updateProductSchema)`, `validate(getProductSchema)`, `validate(deleteProductSchema)`\n\n## Getting Started\n\nFollow these steps to get started with **E-Commerce API**:\n\n1. Clone the repository: `git clone https://github.com/judevector/e-commerce-api.git`\n2. Install dependencies: `yarn install`\n3. Set up your MongoDB database and configure the connection in the project.\n4. Run the API: `yarn dev`\n\n## Testing\n\nEnsure the reliability of the API by running comprehensive tests:\n\n1. Unit tests\n2. Integration tests\n3. End-to-end tests with Supertest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjudevector%2Fe-commerce-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjudevector%2Fe-commerce-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjudevector%2Fe-commerce-api/lists"}