{"id":15175433,"url":"https://github.com/jothiprasath0014/e-commerce","last_synced_at":"2026-03-06T20:01:59.218Z","repository":{"id":254876696,"uuid":"847862775","full_name":"Jothiprasath0014/E-commerce","owner":"Jothiprasath0014","description":"\"A full-stack e-commerce platform developed using React, Express.js, Node.js, and PostgreSQL. It includes backend APIs and Database for Product and Order management. ","archived":false,"fork":false,"pushed_at":"2024-09-02T13:34:44.000Z","size":8232,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T18:37:09.686Z","etag":null,"topics":["backend","express","expressjs","frontend","full-stack","node","nodejs","postgresql","react","reactjs"],"latest_commit_sha":null,"homepage":"","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/Jothiprasath0014.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":"2024-08-26T17:31:42.000Z","updated_at":"2024-09-02T13:34:47.000Z","dependencies_parsed_at":"2024-09-23T06:10:24.935Z","dependency_job_id":"8928adbd-5154-448f-bd9d-a93210453666","html_url":"https://github.com/Jothiprasath0014/E-commerce","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":0.3076923076923077,"last_synced_commit":"44a957252f59b69e5598ff6e1dcb7c128d948eae"},"previous_names":["jothiprasath0014/e-commerce"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jothiprasath0014%2FE-commerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jothiprasath0014%2FE-commerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jothiprasath0014%2FE-commerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jothiprasath0014%2FE-commerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jothiprasath0014","download_url":"https://codeload.github.com/Jothiprasath0014/E-commerce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238310385,"owners_count":19450849,"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":["backend","express","expressjs","frontend","full-stack","node","nodejs","postgresql","react","reactjs"],"created_at":"2024-09-27T12:24:13.820Z","updated_at":"2025-10-26T10:31:40.131Z","avatar_url":"https://github.com/Jothiprasath0014.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# E-commerce Website Documentation\n\n#### Live Demo 🌐 =\u003e [JP-Ecommerce](https://ajp-ecommerce.netlify.app/)\n\n## Project Overview\n\nThis documentation covers the structure, setup, and key functionalities of an e-commerce prototype built using ```React``` for the frontend, ```Node.js and Express.js``` for the backend, and ```PostgreSQL``` for the database. The project simulates the process of browsing products, managing a shopping cart, processing payments (prototype), and confirming orders.\n\n## 1. Project Structure\n\n### Frontend (React)\n#### Components\n\n* **Home.jsx:** Displays the list of products and categories.\n* **ProductDetail.jsx:** Shows detailed information about a selected product.\n*  **Cart.jsx:** Manages the items added to the shopping cart.\n*  **Payment.jsx:** Allows users to select and process their preferred payment method.\n*  **ConfirmationPage.jsx:** Displays order confirmation details after the payment process.\n\n#### Routes\n\n* **/**: Home page.\n* **/product/:id**: Product details page.\n* **/cart**: Cart overview..\n* **/payment**: Payment method selection.\n* **/confirmation**: Order confirmation page.\n\n#### State Management\n\n* **Context API:** Used to manage global state such as cart items and user information.\n\n#### Notification System\n\n* **React Toast:** Used for displaying user notifications (e.g., Item Added to cart, order confirmation).\n\n### Backend (Node.js \u0026 Express.js) \n\n* **Server:** Express server running on ```http://localhost```\n* **API Routes:** \n    * **/payments**: Handles payment processing.\n    * **/payments:id** Used to get the specific Item.\n\n### Database (PostgreSQL)\n\n* **Database Tables** \n    * - **Product Table** : Which contains the Items of products.\n    * - **Order Table** : Stores all order-related information including cart items, shipping details, payment method, and order status.\n\n## 2.  Key Functionalities\n\n#### 1. Product Browsing\n\nUsers can view a list of products on the home page and click on any product to view detailed information.\n\n#### 2. Shopping Cart Management\n\nUsers can add products to their cart, view the cart, and adjust quantities before proceeding to checkout\n\n#### 3. Payment Processing\n\nUsers can select from multiple payment methods (credit card, debit card, UPI, or Cash on Delivery).\n\n#### 4. Order Confirmation\n\nUpon successful payment, the order details are stored in the database, and the user is directed to the confirmation page.\nA toast notification confirms the order placement.\n\n## 3. Testing \n\n* **API Testing:** Used Postman and Thunder Client to test backend APIs.\n\n## 4. Future Enhancements\n\n* **Payment Gateway Integration:** Integrate with real payment gateways like Stripe or PayPal.\n\n* **User Authentication:** Add user authentication and authorization for a personalized shopping experience.\n\n* **Product Search and Filter:** Implement search and filtering capabilities for better product browsing.\n\n\n## 5. ScreenShots \n\n* **Home Page :**\n\n![Auroracart Home page.](/readme-image/home-page.png \"This is a home-page image.\")\n\n\n* **Search-Functionallity :**\n\n![search Functionality.](/readme-image/search-functionallity.png \"This is a home-page search function image.\")\n\n* **Product Description :**\n\n![Product Description](/readme-image/product-description.png \"This is a product description image.\")\n\n* **Cart Items :** \n\n![Cart Items.](/readme-image/cartitems.png \"This is a cart Items image.\")\n\n* **Payment Gateway :** \n\n![Payment Gateway.](/readme-image/payment-gateway.png \"This is a payment gateway image.\")\n\n* **Card Details :**\n\n![Card Details.](/readme-image/Card-Details.png \"This is a Card Details image.\")\n\n* **Shipping Details :**\n\n![Shipping Details.](/readme-image/Shipping-Details.png \"This is a Card Details image.\")\n\n* **Order Confirmation :**\n\n![order confirmation.](/readme-image/order-confirmation.png \"This is a order coonfirmation image.\")\n\n\n* **Order Database :**\n\n![order Database.](/readme-image/order-database.png \"This is a order database image.\")\n\n![order Database.](/readme-image/order-database2.png \"This is a order database image.\")\n\n* **Product Database :** \n\n![Aurora Home page.](/readme-image/product-database.png \"This is a product database image.\")\n\n\n## License \n\nThis project is licensed under the MIT License - see the [MIT](https://choosealicense.com/licenses/mit/) License file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjothiprasath0014%2Fe-commerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjothiprasath0014%2Fe-commerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjothiprasath0014%2Fe-commerce/lists"}