{"id":26828014,"url":"https://github.com/clifftech123/product-items-api","last_synced_at":"2026-04-13T03:11:05.769Z","repository":{"id":284770987,"uuid":"624944371","full_name":"Clifftech123/product-Items-api","owner":"Clifftech123","description":"A CRUD use MongoDB and express with TypeScript.","archived":false,"fork":false,"pushed_at":"2023-04-07T19:55:26.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T15:55:49.259Z","etag":null,"topics":["api","crud-application","expressjs","mangodb","nodejs","typescript"],"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/Clifftech123.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":"2023-04-07T16:48:07.000Z","updated_at":"2023-04-07T16:52:40.000Z","dependencies_parsed_at":"2025-03-27T15:55:51.210Z","dependency_job_id":"602a3584-f1c6-4193-a5b9-a7ce6b21f22c","html_url":"https://github.com/Clifftech123/product-Items-api","commit_stats":null,"previous_names":["clifftech123/product-items-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clifftech123%2Fproduct-Items-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clifftech123%2Fproduct-Items-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clifftech123%2Fproduct-Items-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clifftech123%2Fproduct-Items-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clifftech123","download_url":"https://codeload.github.com/Clifftech123/product-Items-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314142,"owners_count":20757463,"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":["api","crud-application","expressjs","mangodb","nodejs","typescript"],"created_at":"2025-03-30T12:18:23.469Z","updated_at":"2026-04-13T03:11:05.736Z","avatar_url":"https://github.com/Clifftech123.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![MongoDB and TypeScript logo banner](./images/banner.png)\n\n\n# Project Overview\n\nThis project is a CRUD   use MongoDB and express  with TypeScript. It is a simple application that allows you to create, read, update, and delete users.  The application is built with Node.js, Express, MongoDB, and TypeScript.  \n\n# Features\n\n- Create a product item\n- Read a product item\n- Update a product item\n- Delete a product item\n\n\n\n## Getting Started\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/en/)\n- [MongoDB](https://www.mongodb.com/)\n- [MongoDB Compass](https://www.mongodb.com/products/compass) (optional)\n\n## Installation\n\n1. Clone the repository to your local machine\n\n```bash\n\ngit clone  : https://github.com/Clifftech123/product-Items-api.git\n    \n ```\n\n2. Install dependencies\n\n```bash\n\nnpm install\n    \n ```\n\n3. Start the application\n\n```bash\n\nnpm run  start\n    \n ```\n\n4. Open the application in your browser\n\n\n```bash\n\nhttp://localhost:3000/products\n    \n  ```\n\n\n## Usage\n\n### Create a product item\n\n```bash\n\nPOST  : http://localhost:3000/products\n    \n  ```\n  You can use Postman to test the API endpoints. The request body should be in JSON format.\n\n  use the following JSON format to create a product item\n\n  ```json\n\n{\n    \"name\": \"product name\",\n    \"description\": \"product description\",\n    \"price\": 1000,\n     \"category\": \" product category\"\n}\n    \n  ```\n\n\n### Read a product item\n    \n ```bash\n\nGET  : http://localhost:3000/products\n\nGET  : http://localhost:3000/products/:id\n\n```\n\n### Update a product item\n\n```bash\n\n\nPUT  : http://localhost:3000/products/:id\n\n```\n\n\n### Delete a product item\n\n```bash\n\nDELETE  : http://localhost:3000/products/:id\n\n```\n\n\n## Built With\n\n- [Node.js](https://nodejs.org/en/)\n- [Express](https://expressjs.com/)\n- [MongoDB](https://www.mongodb.com/)\n- [Mongoose](https://mongoosejs.com/)\n- [TypeScript](https://www.typescriptlang.org/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclifftech123%2Fproduct-items-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclifftech123%2Fproduct-items-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclifftech123%2Fproduct-items-api/lists"}