{"id":22197466,"url":"https://github.com/swapno963/global_goods","last_synced_at":"2026-05-05T12:33:53.764Z","repository":{"id":248099802,"uuid":"827754917","full_name":"Swapno963/Global_Goods","owner":"Swapno963","description":"Developed a comprehensive e-commerce platform named \"Global_Vendors\" with a variety of advanced features catering to both vendors and customers. The platform is designed to be user-friendly, responsive, and supports multiple languages (English and Bengali).","archived":false,"fork":false,"pushed_at":"2024-08-22T10:28:54.000Z","size":2654,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T22:44:35.113Z","etag":null,"topics":["html2canvas","negotiator","next-auth-v5","nextjs","react-share","react-toastify","tailwind-css"],"latest_commit_sha":null,"homepage":"https://global-goods-beryl.vercel.app/en","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/Swapno963.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-07-12T09:55:49.000Z","updated_at":"2024-08-22T10:28:58.000Z","dependencies_parsed_at":"2024-07-12T11:42:14.940Z","dependency_job_id":"a2726f27-b44b-4a7f-a22a-119e14c3df75","html_url":"https://github.com/Swapno963/Global_Goods","commit_stats":null,"previous_names":["swapno963/global_goods"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Swapno963/Global_Goods","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swapno963%2FGlobal_Goods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swapno963%2FGlobal_Goods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swapno963%2FGlobal_Goods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swapno963%2FGlobal_Goods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Swapno963","download_url":"https://codeload.github.com/Swapno963/Global_Goods/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swapno963%2FGlobal_Goods/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32649596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["html2canvas","negotiator","next-auth-v5","nextjs","react-share","react-toastify","tailwind-css"],"created_at":"2024-12-02T14:19:40.469Z","updated_at":"2026-05-05T12:33:53.713Z","avatar_url":"https://github.com/Swapno963.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GlobalGoods : E-commerce Platform\n\n## Overview\n\nThis is a comprehensive e-commerce platform developed using Next.js, React, and Tailwind CSS. The platform includes user authentication, product listings, a detailed product view, and shopping cart functionality, among other features. It is designed to be responsive, SEO-friendly, and includes internationalization for both Bengali and English.\n\n## Live Site\n\nYou can access the live site [here](https://global-goods-beryl.vercel.app/en).\n\n## User Login\n\nTo log in as a user, please use the following credentials:\n\n- **Email:** swapno@gmail.com\n- **Password:** 12\n\n## Features\n\n### User Authentication\n\n- Implemented using access tokens and refresh tokens.\n- Secure login and registration functionality.\n\n### Home Page\n\n- Custom home page based on the provided template.\n- Displays 'SHOP BY CATEGORY', 'Trending Products', and 'TOP NEW ARRIVAL' sections with data fetched from the database.\n\n### Product Details\n\n- Clicking on a product shows its detailed information fetched from the database.\n- The \"Related Products\" section shows items based on keywords, tags, or categories.\n- Share functionality to social media.\n\n### Cart and Wishlist\n\n- The \"Add to Cart\" and \"Add to Wishlist\" buttons increase the count in the navbar.\n- Buttons redirect to respective pages with proper data.\n- Functionality is available only when the user is logged in.\n- Redirects to login page if the user is not logged in, and retains the intended action post-login.\n\n### Search and Filter\n\n- Search feature displays results in a professional way.\n- Filter products by categories, price, and size on product listing and search results pages.\n\n### User Account\n\n- Account page displays and allows updates to \"Personal Profile\", \"Shipping Address\", and \"Billing Address\".\n- These pages are private routes, accessible only when the user is logged in.\n\n### Checkout\n\n- Displays items in the cart and includes a checkout form with validation.\n- On successful order placement, a success message is shown, and an invoice can be downloaded.\n\n### Order Management\n\n- Generates and emails a PDF invoice after order completion.\n- Uses `PDF-LIB` for PDF generation.\n\n### Inventory Management\n\n- Manages product stock, showing \"Stock Out\" when a product is unavailable.\n\n### Internationalization\n\n- Supports Bengali and English languages.\n\n### SEO\n\nThe home page and product details pages are SEO-friendly\n\n### Chellenges\n\n1. Chnage client ui besed on server side props(In NavWish_Cart.jsx)\n\n## Technologies Used\n\n- **Next.js**: Framework for server-rendered React applications.\n- **React**: JavaScript library for building user interfaces.\n- **Tailwind CSS**: Utility-first CSS framework for styling.\n- **Node.js**: JavaScript runtime for server-side code.\n- **MongoDB**: Database for storing product and user data.\n- **JWT**: JSON Web Tokens for authentication.\n- **PDF-LIB**: Library for PDF generation.\n- **Nodemailer**: For sending emails.\n\n### Up Comming\n\n- Edit bio in profile page\n- Update profile picture\n- Animation while dark mode to light mode\n- Edit blog in profile page\n- Delete blog in profile page\n\n### Future Plan\n\n- Product recomendation system where ml model will do it\n- User can run add besed on terget customer\n\n## set up and Installation\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/Swapno963/Global_Goods.git\n\n   cd Global_Goods\n   ```\n\n2. Install dependencies:\n\n   ```sh\n\n   npm install\n   ```\n\n3. Create a `.env` file in the project root with the following content:\n\n   ```env\n   MONGODB_CONNECTION_STRING=\"Connection string of mongodb\"\n\n   GOOGLE_CLIENT_ID=\"Google client id for authientication\"\n\n   GOOGLE_CLIENT_SECRET=\"Google client secret for authientication\"\n\n   AUTH_SECRET=\"Give a auth secret\"\n\n   RESEND_API_KEY=\"Give resend api key\"\n   ``\n\n   ```\n\n4. Run the development server:\n   ```sh\n   npm run dev\n   ```\n\n## Usage\n\n- Access the application at `http://localhost:3000/`\n\n- Register a new user or login with existing credentials.\n\n## Contact\n\nIf you have any questions or feedback, feel free to contact me:\n\n- Swapno Mondol - [Linkedin](https://www.linkedin.com/in/swapno-mondol/)- [Facebook](https://www.facebook.com/profile.php?id=100090206887787) - swapno963@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswapno963%2Fglobal_goods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswapno963%2Fglobal_goods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswapno963%2Fglobal_goods/lists"}