Welcome to MyStore, a simple e-commerce application! This project was generated with Angular CLI version 16.1.2.
To start the application, follow these steps:
-
Make sure you have Node.js and Angular CLI installed on your machine.
-
Clone this repository to your local machine.
-
Open a terminal or command prompt and navigate to the project's root directory.
-
Run the following command to install the dependencies:
npm install
-
Once the installation is complete, run the following command to start the application:
ng serve
-
Open your browser and navigate to
http://localhost:4200
to access MyStore.
MyStore incorporates OAuth2 authentication using Auth0. To use the authentication features, please ensure that you access the application via http://localhost:4200
.
To get started with OAuth2 authentication:
- On the MyStore main page, click the "Login" button.
- If you don't have an existing account, click the "Sign Up" button to create a new account in the OAuth popup.
- Follow the instructions provided to complete the signup process.
- Once you've logged in or signed up successfully, you can use the application to add items to your cart, edit your cart contents, and confirm your order.
Please note that the OAuth2 authentication is specific to the localhost:4200
URL for local development purposes.
MyStore offers the following features:
- Product List: Browse through the available products.
- Cart Management: Edit the cart contents, and remove items, add address, fullname, Credit Card.
- Order Confirmation: Finalize your order and confirm your purchase.