{"id":27161295,"url":"https://github.com/sam4web/project-shopswift","last_synced_at":"2026-04-09T15:44:10.960Z","repository":{"id":285588458,"uuid":"958626355","full_name":"sam4web/project-shopswift","owner":"sam4web","description":"A responsive e-commerce app built using MERN Stack","archived":false,"fork":false,"pushed_at":"2025-04-07T13:15:06.000Z","size":1355,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T14:26:48.295Z","etag":null,"topics":["ecommerce-app","express","jwt-authentication","mern-stack","mongodb","nodejs","react-router-dom","reactjs","redux","tailwindcss"],"latest_commit_sha":null,"homepage":"https://project-shopswift.netlify.app/","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/sam4web.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":"2025-04-01T13:58:34.000Z","updated_at":"2025-04-07T13:15:09.000Z","dependencies_parsed_at":"2025-04-01T16:30:08.118Z","dependency_job_id":"da2e6d3f-c715-4321-abff-14d7568ffaad","html_url":"https://github.com/sam4web/project-shopswift","commit_stats":null,"previous_names":["sam4web/shopswift","sam4web/project-shopswift"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam4web%2Fproject-shopswift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam4web%2Fproject-shopswift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam4web%2Fproject-shopswift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam4web%2Fproject-shopswift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sam4web","download_url":"https://codeload.github.com/sam4web/project-shopswift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247952817,"owners_count":21023943,"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":["ecommerce-app","express","jwt-authentication","mern-stack","mongodb","nodejs","react-router-dom","reactjs","redux","tailwindcss"],"created_at":"2025-04-09T00:37:40.258Z","updated_at":"2025-12-30T19:04:21.476Z","avatar_url":"https://github.com/sam4web.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project ShopSwift\n\nShopSwift is an e-commerce platform developed as a **practice project** to demonstrate my skills in full-stack web development. Built using the **MERN Stack**, it features a responsive frontend and a powerful backend. ShopSwift showcases key e-commerce functionalities, including **user authentication**, **product browsing**, a functional **shopping cart**, and a system for **order management**.\n\n## Table of Contents\n\n- [Project ShopSwift](#project-shopswift)\n  - [Table of Contents](#table-of-contents)\n  - [Features](#features)\n    - [Frontend](#frontend)\n    - [Backend](#backend)\n  - [Technologies Used](#technologies-used)\n    - [Frontend](#frontend-1)\n    - [Backend](#backend-1)\n  - [Screenshots](#screenshots)\n  - [API Endpoints](#api-endpoints)\n    - [Authentication](#authentication)\n    - [Users](#users)\n    - [Products](#products)\n    - [Orders](#orders)\n    - [Cart](#cart)\n  - [Project Links](#project-links)\n\n## Features\n\n### Frontend\n\n- **User Authentication**: Secure sign-up, login, and logout with session handling.\n- **Responsive Design**: Optimized for both desktop and mobile.\n- **Product Listings**: Browse and search products with detailed descriptions and prices.\n- **Shopping Cart**: Add/remove items and update quantities.\n- **Order Management**: Place and track orders.\n\n### Backend\n\n- **Secure Authentication**: Uses **JWT (JSON Web Tokens)** for authentication.\n- **Product Management**: Create, update, and delete products.\n- **Order Processing**: Handle orders with real-time status updates.\n- **Shopping Cart API**: Manage cart items and pricing calculations.\n- **Scalability**: Designed to handle large-scale operations efficiently.\n\n## Technologies Used\n\n### Frontend\n\n- **[React.js](https://reactjs.org/)** - Dynamic and interactive UI.\n- **[Redux](https://redux.js.org/)** - Global state management.\n- **[TailwindCSS](https://tailwindcss.com/)** - Utility-first styling.\n- **[React Router DOM](https://reactrouter.com/)** - Routing and navigation.\n\n### Backend\n\n- **[Node.js](https://nodejs.org/)** - Server-side JavaScript runtime.\n- **[Express.js](https://expressjs.com/)** - Web framework for API handling.\n- **[MongoDB](https://www.mongodb.com/)** - NoSQL database for storing data.\n- **[Mongoose](https://mongoosejs.com/)** - Schema-based interaction with MongoDB.\n- **[JWT (JSON Web Tokens)](https://jwt.io/)** - Authentication mechanism.\n\n## Screenshots\n\n![Home Page](./screenshots/home.png)  \n_Homepage showcasing featured products._\n\n![Product Listing Page](./screenshots/products.png)  \n_Product listing page displaying available items._\n\n## API Endpoints\n\n### Authentication\n\n- **`POST /api/auth/register`** - Register a new user.\n- **`POST /api/auth/login`** - Log in a user.\n- **`POST /api/auth/logout`** - Log out the user.\n- **`POST /api/auth/refresh`** - Refresh the JWT token.\n\n### Users\n\n- **`GET /api/users/:id`** - Get user details.\n- **`GET /api/users/:id/products`** - Get products created by the user.\n\n### Products\n\n- **`GET /api/products`** - Retrieve all products.\n- **`GET /api/products/:id`** - Retrieve a specific product.\n- **`POST /api/products`** - Add a new product.\n- **`PATCH /api/products/:id`** - Update product details.\n- **`DELETE /api/products/:id`** - Delete a product.\n\n### Orders\n\n- **`GET /api/orders`** - Retrieve all orders.\n- **`POST /api/orders`** - Place a new order.\n\n### Cart\n\n- **`GET /api/cart`** - Retrieve the shopping cart.\n- **`POST /api/cart`** - Add items to the cart.\n- **`DELETE /api/cart/:id`** - Remove an item from the cart.\n- **`GET /api/cart/pricing`** - Get pricing details.\n\n## Project Links\n\n- **Frontend Code**: [Frontend Repository](https://github.com/sam4web/shopswift/tree/main/frontend)\n- **Backend Code**: [Backend Repository](https://github.com/sam4web/shopswift/tree/main/backend)\n- **Live Application**: [ShopSwift Live](https://projectshopswift.netlify.app/)\n- **Live API**: [ShopSwift API](https://shopswift-a9hj.onrender.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam4web%2Fproject-shopswift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsam4web%2Fproject-shopswift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam4web%2Fproject-shopswift/lists"}