Welcome to Ontology Shop, a small demo storefront built with Angular. This project demonstrates a product catalog, a drawer-style shopping cart, and simple services for product repository and caching.
- Product catalog with fallback data
- Drawer-style shopping cart (add, change quantity, remove)
- Cart UI service and mapper for state management
- Responsive layout
- Clone and install dependencies:
git clone https://github.com/aghersidev/ontology-cart.git
cd ontology-cart
npm install
ng serve- Open the URL shown in the console (usually):
http://localhost:4200- Edit the home page content in
src/app/pages/home/home.component.htmlto change welcome text and instructions. - Update product data in
public/data/products-fallback.json(or the data source used by the repository service). - Modify styles in
src/styles.cssand component styles undersrc/app.
src/app/components/cart-drawer— cart drawer component and templatesrc/app/components/product-card— product card componentsrc/app/pages/catalogo— product listing pagesrc/app/pages/home— home pagesrc/app/services— cache, product repository, cart servicespublic/data— fallback product JSON
This project is licensed under the MIT License.