This a client site of Vershina web shop. It war written by me to better understand Angular. Vershina
Run ng serve
for a dev server. Navigate to http://localhost:4200/
or other port if the previous one is already in use or u run this app over https protocol. 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.
To use the UI repository, you can follow these steps:
- Run the command ng serve to start the development server.
- Navigate to http://localhost:4200/ in your browser to see the application running.
- If u want to run this app over https protocol, create ssl folder, use mkcert or other suitable tools to generate a key and add the following code snippet to angular.json in a section "serve"
"options": {
"sslCert": "ssl/localhost.pem",
"sslKey": "ssl/localhost-key.pem",
"ssl": true
}
- Unit tests
- More styling to the entire app, and in particular, to the admin panel
- More functional to admin panel and make it more comfortable
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.
In order to see API part follow this link