https://github.com/olehkavetskyi/vershinaui
https://github.com/olehkavetskyi/vershinaui
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/olehkavetskyi/vershinaui
- Owner: olehkavetskyi
- Created: 2023-02-28T18:35:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-27T21:04:47.000Z (about 2 years ago)
- Last Synced: 2025-02-03T23:41:25.330Z (4 months ago)
- Language: TypeScript
- Size: 344 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Client

This a client site of Vershina web shop. It war written by me to better understand Angular.
Vershina## Development server
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.
## Code scaffolding
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`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Usage
To use the UI repository, you can follow these steps:
1. Run the command ng serve to start the development server.
2. Navigate to http://localhost:4200/ in your browser to see the application running.
3. 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"
```json
"options": {
"sslCert": "ssl/localhost.pem",
"sslKey": "ssl/localhost-key.pem",
"ssl": true
}
```## TODO
1. Unit tests
2. More styling to the entire app, and in particular, to the admin panel
3. More functional to admin panel and make it more comfortable## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
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.
## Links
In order to see API part follow [this](https://github.com/olehkavetskyi/VershinaAPI) link