This project was generated with Angular CLI version 16.2.2.
This Angular-based EcommerceProject is a web application designed to provide a seamless online shopping experience. It leverages JSON Server to store and manage data retrieved from APIs within its components. The application allows sellers to list products, buyers to browse and purchase items, and provides features like user authentication, cart management, and order placement.
- Angular
- TypeScript
- Json Server
- HTML5
- BootStrap
- CSS3
- Git
-
User Authentication: There is a component named UserAuthComponent responsible for handling user authentication. Users can sign up and log in. It also appears to handle transferring items from a local cart to a remote cart when a user logs in.
-
Seller Functionality: There seems to be a seller component, Sellers can add and update products.
-
Cart Management: There are components and services related to managing the shopping cart. Users can add and remove products from their carts, and there's logic for transferring items from a local cart to a remote cart when a user logs in.
-
Product Listings: There's a product list page (ProductListComponent) where products are displayed in a tabular format. Sellers can see and manage their added products here.
-
Orders: There's a component for displaying user orders (MyOrdersComponent). Users can view their order history and potentially cancel orders.
-
Search Functionality: There's a search component (SearchComponent) that allows users to search for products based on a query.
-
Header and Footer: There are header and footer components (HeaderComponent and FooterComponent) that likely provide navigation and general information throughout the application.
-
Homepage: There's a homepage component (HomeComponent) that display popular and trendy products.
- Content Data : Pinterest
- Icons: Bootstrap Icons
- Add : Node Modules
- Start the Json server with
json-server --watch db.json
command in the termianl. - Run this project with
ng serve
command in the termianl - Now type
http://localhost:3000/
for opening JSON server in Browser and typehttp://localhost:4200/
to see the output of project
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.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.