{"id":17560938,"url":"https://github.com/timbar09/cart-typescript-app","last_synced_at":"2025-03-29T11:13:09.922Z","repository":{"id":258364219,"uuid":"864839170","full_name":"Timbar09/Cart-TypeScript-App","owner":"Timbar09","description":"A TypeScript-based web application demonstrating core shopping cart functionality, built from a tutorial by Dave Gray. The app allows users to add, remove, and update items in the cart, with a dynamically rendered interface.","archived":false,"fork":false,"pushed_at":"2024-11-18T17:34:54.000Z","size":3542,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-02-04T10:48:51.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Timbar09.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-09-29T09:55:39.000Z","updated_at":"2024-10-02T18:14:52.000Z","dependencies_parsed_at":"2024-12-19T13:54:31.389Z","dependency_job_id":"f554b195-d0be-403f-8572-4457dcc32c49","html_url":"https://github.com/Timbar09/Cart-TypeScript-App","commit_stats":null,"previous_names":["timbar09/cart-typescript-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timbar09%2FCart-TypeScript-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timbar09%2FCart-TypeScript-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timbar09%2FCart-TypeScript-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timbar09%2FCart-TypeScript-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Timbar09","download_url":"https://codeload.github.com/Timbar09/Cart-TypeScript-App/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246174606,"owners_count":20735417,"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-10-21T11:44:00.750Z","updated_at":"2025-03-29T11:13:09.898Z","avatar_url":"https://github.com/Timbar09.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shopping Cart Project\n\n## Overview\n\nThis project is a simple shopping cart web application, built as part of a [TypeScript tutorial](https://youtu.be/gieEQFIfgYc) by Dave Gray. The app demonstrates essential functionality for managing products in a shopping cart, including adding, removing, and updating items, while dynamically rendering the cart interface.\n\n## Features\n\n- **View Products**: The main section shows a list of available products when you open the application.\n- **Add to Cart**: Each product has a button to add it to the shopping cart.\n- **View Cart**: Clicking the \"View Cart\" button in the header switches the view to display the cart, which shows all items added.\n- **Cart Management**:\n  - Adjust the quantity of each item in the cart.\n  - See unit prices, total costs for each product, and the overall cart total.\n  - Remove items from the cart as needed.\n- **Place Order**: A \"Place Order\" button finalizes the current cart, simulating an order placement.\n\n## Future Enhancements\n\nFuture additions could include features similar to those implemented in previous projects, such as:\n\n- Improved product display design.\n- Product categories and filters.\n- Product pages with detailed information.\n- Payment gateway integration.\n- User authentication and account management.\n- Order history and tracking.\n\n## Technologies Used\n\n- **TypeScript**: A statically typed superset of JavaScript that compiles to plain JavaScript.\n- **React**: A JavaScript library for building user interfaces.\n- **Vite**: A fast build tool that provides a lightning-fast dev server with hot module replacement (HMR).\n- **Tailwind CSS**: A utility-first CSS framework for quickly building custom designs.\n- **SCSS**: A preprocessor scripting language that is interpreted or compiled into Cascading Style Sheets (CSS).\n\n## Running Locally\n\nTo run the project locally:\n\n```bash\ngit clone https://github.com/Timbar09/Cart-TypeScript-App.git\ncd Cart-TypeScript-App\nnpm install\nnpm run dev\n```\n\nAccess the app at `http://localhost:5173`.\n\n## Learning Experience\n\nThis project was primarily an exercise in TypeScript and React, focusing on state management and component interaction. It provided a good opportunity to practice TypeScript syntax and concepts, such as interfaces, types, and generics, as well as React hooks and props.\n\n## Contributing\n\nThis project, while personal, welcomes contributions. If you discover bugs or have suggestions for improvement, feel free to open an issue or submit a pull request.\n\n## Acknowledgements\n\n\u003e **Project tutorial by [Dave Gray](https://www.youtube.com/@DaveGrayTeachesCode).**\n\n## License\n\nThis project is open-source and available under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimbar09%2Fcart-typescript-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimbar09%2Fcart-typescript-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimbar09%2Fcart-typescript-app/lists"}