This project is an e-commerce website and admin dashboard developed using Angular and MySQL. It provides a user-friendly interface for browsing products, managing orders, and an admin dashboard for managing the website's content.
Here are some screenshots of the application:
To run the project locally, follow these steps:
- Make sure you have the Angular CLI installed. This project was generated with Angular CLI version 14.2.2.
- Clone the repository to your local machine.
- Install the project dependencies by running
npm install
in the project directory. - Start the development server by running
ng serve
. The application will be available athttp://localhost:4200/
. It will automatically reload if you make any changes to the source files.
You can use Angular CLI to generate new components, directives, pipes, services, classes, guards, interfaces, enums, or modules. Run the following command to generate a new component:
ng generate component component-name
For more information, refer to the Angular CLI Overview and Command Reference page.
To build the project, run the following command:
ng build
The build artifacts will be stored in the dist/
directory.
You can execute unit tests using Karma test runner. Run the following command:
ng test
For more information, visit the Karma documentation.
To execute end-to-end tests, you need to add a package that implements end-to-end testing capabilities. Once added, run the following command:
ng e2e
Choose a platform of your choice for running the tests.
If you need more help on how to use the Angular CLI, you can run the following command:
ng help
You can also refer to the Angular CLI Overview and Command Reference page for more detailed information.
Feel free to explore the codebase and customize the application according to your requirements. Happy coding!