GithubHelp home page GithubHelp logo

my-store's Introduction

MyStore

This project was generated with Angular CLI version 15.1.1.

this project is a store that display variety of products and you can view each products details. you can also add the wanted products with the chosen quantity. and you can check the cart which will display all your added product, their quantities, and the total price. in the same page you can also fill out your personal information to checkout then we will take you to a confirmation page wher you can get back the product list to make additional purchases

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

install dependencies

run npm install


changes after review:

  • added condition to check if the product is already added

if product is not added it will add it then show this alert:

image

if the product is already there it will not add it and it will show this alert:

image


  • added 3 interfaces for userinfo, product, and cart and adjusted the code accordingly

cart

image

product

image

user info

image

my-store's People

Contributors

hemax2000 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.