{"id":19457113,"url":"https://github.com/anchaldevbytes/dummykart","last_synced_at":"2025-06-13T11:35:04.390Z","repository":{"id":215444506,"uuid":"738945236","full_name":"AnchalDevBytes/Dummykart","owner":"AnchalDevBytes","description":"Internshala assignment project","archived":false,"fork":false,"pushed_at":"2024-01-05T06:25:48.000Z","size":809,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T01:37:46.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dummykart.vercel.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/AnchalDevBytes.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}},"created_at":"2024-01-04T12:13:32.000Z","updated_at":"2024-01-06T12:02:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"d04a4358-9aad-4782-af59-f7e91931d1bc","html_url":"https://github.com/AnchalDevBytes/Dummykart","commit_stats":null,"previous_names":["anchalraj31082004/dummykart","anchaldevbytes/dummykart"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnchalDevBytes%2FDummykart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnchalDevBytes%2FDummykart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnchalDevBytes%2FDummykart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnchalDevBytes%2FDummykart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnchalDevBytes","download_url":"https://codeload.github.com/AnchalDevBytes/Dummykart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240654187,"owners_count":19835856,"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":[],"created_at":"2024-11-10T17:19:48.972Z","updated_at":"2025-02-25T10:51:20.451Z","avatar_url":"https://github.com/AnchalDevBytes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Internshala Assignment - React JS Project\n\n## Project Overview\n\nThis project is a React JS application that fulfills the requirements outlined in Option 2 of the Internshala assignment.\nThe application implements a login process, token storage for authorization, protected routes, product fetching, product search, price-based filtering, a shopping cart with count and total amount display, and an \"Add to Cart\" button on product cards.\n\nThe project is built using Next.js for the frontend, Redux Toolkit for state management, and Tailwind CSS for styling. The application has been successfully completed and deployed on Vercel.\n\n## Screenshot\n\n![Home](./src/assets/02HOme.png)\n\n## Project Structure\n\nThe project is organized into several components and features:\n\n- **Authentication:** Implements login functionality using [dummyjson.com/docs/auth](https://dummyjson.com/docs/auth) for authentication. The login token is stored for authorization purposes.\n\n- **Protected Route:** The home page is a protected route, allowing only logged-in users to access it.\n\n- **Product Fetching:** Fetches products from [dummyjson.com/docs/products](https://dummyjson.com/docs/products) and displays them on the home page.\n\n- **Product Search:** Implements a search feature to filter products based on their names.\n\n- **Price Filtering:** Adds a filter option on the home page to filter products based on their prices.\n\n- **Shopping Cart:** Implements a shopping cart functionality with an \"Add to Cart\" button on product cards. Displays the cart count on the top and the total amount of the cart.\n\n## Deployment\n\nThe application has been deployed on Vercel and is accessible at [Live Vercel Deployment](#). Please note that the actual link will be provided separately.\n\n## Instructions for Running the Project Locally\n\n1. Clone the repository to your local machine.\n```bash\n   git clone https://github.com/anchalraj31082004/Dummykart.git\n```\n\n2. Install dependencies\n```bash\n    cd Dummykart\n    npm install\n```\n\n3. Run the Developement server\n```bash\n    npm run dev\n```\n\n4. Open your browser and navigate to [http://localhost:3000](http://localhost:3000) to view the application.\n\n## Note\n\nThe deployed link on Vercel is not working as expected. After login, it takes more time to redirect to the home page, or it may take one or more tries to redirect. I'm currently searching for why it's not redirecting immediately after login, as it was working well in localhost. It would be great if you could set it up locally.\n\n## Extra Screenshots\n\n![Login](./src/assets/01login.png)\n\n![Cart](./src/assets/03Cart.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanchaldevbytes%2Fdummykart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanchaldevbytes%2Fdummykart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanchaldevbytes%2Fdummykart/lists"}