Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor frontend to a simple ecommerce site #13

Merged
merged 1 commit into from
Dec 15, 2024

Conversation

carlosferreyra
Copy link
Owner

Add new components and routes for catalog, products, product details, shopping cart, and checkout.

  • Routes and Navigation:

    • Add routes for catalog, product, product-detail, shopping-cart, and checkout components in frontend/src/app/app.routes.ts.
    • Add navigation links to the new components in frontend/src/app/app.component.html.
  • Styles:

    • Add styles for the new components in frontend/src/styles.css.
  • Catalog Component:

    • Create CatalogComponent in frontend/src/app/catalog/catalog.component.ts.
    • Add HTML template for CatalogComponent in frontend/src/app/catalog/catalog.component.html.
  • Product Component:

    • Create ProductComponent in frontend/src/app/product/product.component.ts.
    • Add HTML template for ProductComponent in frontend/src/app/product/product.component.html.
  • Product Detail Component:

    • Create ProductDetailComponent in frontend/src/app/product-detail/product-detail.component.ts.
    • Add HTML template for ProductDetailComponent in frontend/src/app/product-detail/product-detail.component.html.
  • Shopping Cart Component:

    • Create ShoppingCartComponent in frontend/src/app/shopping-cart/shopping-cart.component.ts.
    • Add HTML template for ShoppingCartComponent in frontend/src/app/shopping-cart/shopping-cart.component.html.
  • Checkout Component:

    • Create CheckoutComponent in frontend/src/app/checkout/checkout.component.ts.
    • Add HTML template for CheckoutComponent in frontend/src/app/checkout/checkout.component.html.

Add new components and routes for catalog, products, product details, shopping cart, and checkout.

* **Routes and Navigation:**
  - Add routes for `catalog`, `product`, `product-detail`, `shopping-cart`, and `checkout` components in `frontend/src/app/app.routes.ts`.
  - Add navigation links to the new components in `frontend/src/app/app.component.html`.

* **Styles:**
  - Add styles for the new components in `frontend/src/styles.css`.

* **Catalog Component:**
  - Create `CatalogComponent` in `frontend/src/app/catalog/catalog.component.ts`.
  - Add HTML template for `CatalogComponent` in `frontend/src/app/catalog/catalog.component.html`.

* **Product Component:**
  - Create `ProductComponent` in `frontend/src/app/product/product.component.ts`.
  - Add HTML template for `ProductComponent` in `frontend/src/app/product/product.component.html`.

* **Product Detail Component:**
  - Create `ProductDetailComponent` in `frontend/src/app/product-detail/product-detail.component.ts`.
  - Add HTML template for `ProductDetailComponent` in `frontend/src/app/product-detail/product-detail.component.html`.

* **Shopping Cart Component:**
  - Create `ShoppingCartComponent` in `frontend/src/app/shopping-cart/shopping-cart.component.ts`.
  - Add HTML template for `ShoppingCartComponent` in `frontend/src/app/shopping-cart/shopping-cart.component.html`.

* **Checkout Component:**
  - Create `CheckoutComponent` in `frontend/src/app/checkout/checkout.component.ts`.
  - Add HTML template for `CheckoutComponent` in `frontend/src/app/checkout/checkout.component.html`.
@carlosferreyra carlosferreyra merged commit 44a3da5 into main Dec 15, 2024
3 of 5 checks passed
@carlosferreyra carlosferreyra deleted the refactor-frontend branch December 15, 2024 18:04
@carlosferreyra carlosferreyra restored the refactor-frontend branch December 15, 2024 18:04
@carlosferreyra carlosferreyra deleted the refactor-frontend branch December 15, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant