{"id":21620489,"url":"https://github.com/rajuniranjan/ecommerce_express_backend","last_synced_at":"2026-04-02T03:10:33.507Z","repository":{"id":254956865,"uuid":"703719250","full_name":"RajuNiranjan/eCommerce_Express_backend","owner":"RajuNiranjan","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-02T13:56:41.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T16:32:10.444Z","etag":null,"topics":["bcryptjs","cors","expressjs","jwt-authentication","mongodb","nodejs","nodemon"],"latest_commit_sha":null,"homepage":"https://trendsetdb.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RajuNiranjan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-11T19:18:53.000Z","updated_at":"2025-09-23T14:00:44.000Z","dependencies_parsed_at":"2024-08-27T06:29:54.981Z","dependency_job_id":"559195cb-7e67-4043-867d-d6d6cf7c8690","html_url":"https://github.com/RajuNiranjan/eCommerce_Express_backend","commit_stats":null,"previous_names":["rajuniranjan/ecommerce_express_backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RajuNiranjan/eCommerce_Express_backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajuNiranjan%2FeCommerce_Express_backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajuNiranjan%2FeCommerce_Express_backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajuNiranjan%2FeCommerce_Express_backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajuNiranjan%2FeCommerce_Express_backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RajuNiranjan","download_url":"https://codeload.github.com/RajuNiranjan/eCommerce_Express_backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RajuNiranjan%2FeCommerce_Express_backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bcryptjs","cors","expressjs","jwt-authentication","mongodb","nodejs","nodemon"],"created_at":"2024-11-24T23:11:49.178Z","updated_at":"2026-04-02T03:10:33.490Z","avatar_url":"https://github.com/RajuNiranjan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TREND_SET eCOMMERCE WEB APPLICATION\n\n### URL\n\n### [Live Demo](https://trendsetnext.vercel.app/)\n### [Front End source code](https://github.com/RajuNiranjan/ecommerce_next_frontend)\n\n## Table of Contents\n\n- [Features](#features)\n- [Technologies](#technologies)\n- [API Endpoints](#api-endpoints)\n- [Getting Started](#getting-started)\n- [Installation](#installation)\n- [Enveronmental Variables](#enveronmental-variables)\n\n## Features\n\n- User authentication (login/register)\n- User profile management\n- Address management\n- Seller functionality\n- Product management\n\n## Technologies\n\n- Node.js\n- Express.js\n- MongoDB\n- JWT for authentication\n- Bcrypt.js for password hashing\n\n## API Endpoints\n\nThe API is structured as follows:\n\n- **Root:** `/api`\n\n  - **Authentication:**\n\n    - `POST /auth/register` - Register a new user\n    - `POST /auth/login` - Login a user\n\n  - **User:**\n\n    - `GET /user` - Get user information\n    - `PATCH /user/:id` - Update user profile\n    - `GET /user/userInfo` - Get detailed user information\n\n  - **Cart:**\n\n    - `POST /cart` - Add a product to the cart\n    - `GET /cart/:userId` - Get products in the cart for a specific user\n    - `DELETE /cart/:userId/remove/:productId` - Remove a product from the cart\n\n  - **Wishlist:**\n\n    - `POST /wishlist` - Add a product to the wishlist\n    - `GET /wishlist/:userId` - Get wishlist items for a specific user\n    - `DELETE /wishlist/:userId/remove/:productId` - Remove a product from the wishlist\n\n  - **Address:**\n\n    - `POST /address` - Create a new address\n    - `GET /address` - Get user addresses\n    - `PATCH /address/:id` - Update a user address\n    - `DELETE /address/:id` - Delete a user address\n\n  - **Seller:**\n\n    - `POST /seller` - Become a seller\n    - `GET /seller` - Get seller information\n    - `GET /seller/:id` - Get seller information by ID\n    - `PATCH /seller/:id` - Update seller information\n    - `DELETE /seller/:id` - Delete seller account\n\n  - **Product:**\n    - `POST /product` - Create a new product\n    - `GET /product` - Get all products\n    - `GET /product/:id` - Get products by store ID\n    - `GET /product/category/:category` - Get products by category\n    - `GET /product/single_product/:id` - Get product details by ID\n    - `PATCH /product/:id` - Edit product details\n    - `DELETE /product/:id` - Delete a product\n\n## Getting Started\n\n## Installation\n\n- clone the repository:\n\n```\ngit clone https://github.com/RajuNiranjan/eCommerce_Express_backend\n```\n\n```\ncd eCommerce_Express_backend\n```\n\n- To Install the Dependencies\n\n```\nnpm install\n```\n\n- To Start The project\n\n```\nnpm run dev\n```\n\n## Enveronmental Variables\n\n- DB_URI = your mongodb uri\n- JWT_SECRET_KEY = your_secret_key\n- PORT = your_port_number\n- ORIGIN = your_frontend_port\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajuniranjan%2Fecommerce_express_backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajuniranjan%2Fecommerce_express_backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajuniranjan%2Fecommerce_express_backend/lists"}