{"id":15175238,"url":"https://github.com/rahulagrawal084/crud_operations","last_synced_at":"2026-03-09T06:31:59.172Z","repository":{"id":255167506,"uuid":"848742459","full_name":"rahulagrawal084/CRUD_Operations","owner":"rahulagrawal084","description":"This project provides a set of basic CRUD (Create, Read, Update, Delete) operations using Mongoose, a popular MongoDB object modeling tool for Node.js.","archived":false,"fork":false,"pushed_at":"2024-08-28T10:54:56.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T18:15:18.968Z","etag":null,"topics":["ejs-templates","express","method-override","mongodb","nodejs","rest-api"],"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/rahulagrawal084.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-28T10:23:41.000Z","updated_at":"2024-08-28T10:54:59.000Z","dependencies_parsed_at":"2024-08-28T12:00:25.362Z","dependency_job_id":"af24189c-8f34-4afc-9daf-fa8b21cc2618","html_url":"https://github.com/rahulagrawal084/CRUD_Operations","commit_stats":null,"previous_names":["rahulagrawal084/crud_operations"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulagrawal084%2FCRUD_Operations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulagrawal084%2FCRUD_Operations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulagrawal084%2FCRUD_Operations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulagrawal084%2FCRUD_Operations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rahulagrawal084","download_url":"https://codeload.github.com/rahulagrawal084/CRUD_Operations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238310333,"owners_count":19450841,"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":["ejs-templates","express","method-override","mongodb","nodejs","rest-api"],"created_at":"2024-09-27T12:20:49.791Z","updated_at":"2025-10-26T10:31:18.530Z","avatar_url":"https://github.com/rahulagrawal084.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRUD-Operations\r\n\r\nThis project provides a set of basic CRUD (Create, Read, Update, Delete) operations using Mongoose, a popular MongoDB object modeling tool for Node.js.\r\n\r\n# Features\r\n\r\n* **Farms:** Manage farm details including name, location, and associated products.\r\n* **Products:** Track product details such as name, category, price, and the farm where they are produced.\r\n* **CRUD Operations:** Perform create, read, update, and delete operations on both farms and products.\r\n* **Mongoose Integration:** Use Mongoose schemas and models for structured data management.\r\n\r\n# Installation\r\n\r\n**1. Clone the Repository:**\r\n* git clone https://github.com/yourusername/crud_operations.git\r\n* cd crud_operations\r\n\r\n**2. Install Dependencies:**  \r\n \r\n* npm install\r\n\r\n# Usage\r\n\r\n**1. Start the server:**\r\n\r\nnode index.js\r\n\r\n**2. Farms API Endpoints:**\r\n* **POST /farms:** Create a new farm\r\n* **GET /farms:** Retrieve a list of all farms\r\n* **GET /farms/:id:** Retrieve a specific farm by ID\r\n* **PUT /farms/:id:** Update a farm's details\r\n* **DELETE /farms/:id:** Delete a farm\r\n\r\n**3. Products API Endpoints:**\r\n\r\n* **POST /products:** Create a new product\r\n* **GET /products:** Retrieve a list of all products\r\n* **GET /products/:id:** Retrieve a specific product by ID\r\n* **PUT /products/:id:** Update a product's details\r\n* **DELETE /products/:id:** Delete a product\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulagrawal084%2Fcrud_operations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frahulagrawal084%2Fcrud_operations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulagrawal084%2Fcrud_operations/lists"}