https://github.com/oguzadali/angular-e-commerce
Angular single page product list app .
https://github.com/oguzadali/angular-e-commerce
alertifyjs angular frontend
Last synced: about 1 month ago
JSON representation
Angular single page product list app .
- Host: GitHub
- URL: https://github.com/oguzadali/angular-e-commerce
- Owner: oguzadali
- Created: 2020-10-26T06:17:35.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-26T06:21:36.000Z (over 5 years ago)
- Last Synced: 2025-07-21T12:52:33.511Z (11 months ago)
- Topics: alertifyjs, angular, frontend
- Language: TypeScript
- Homepage:
- Size: 6.93 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShopTempl
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.0.8.
This is a Angular Commerce app by Angular complex front-end and simple backend by json-server
### For start
`npm install package.json`
`ng serve --port 8001` or `ng serve --open`
## Startging Test Server
Download db.json and open at integrated terminal ;
`json-server --watch db.json`
Json-Server started at `http://localhost:3000`
## For creating new component
`ng g component "comp. name"`
## Main CSS/import libraries css
```jsx
@import "../node_modules/bootstrap/dist/css/bootstrap.min.css";
@import "../node_modules/font-awesome/css/font-awesome.min.css";
```
## Development server
Run `ng serve --open` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Run Test Backend Server
At test-db folder write this in console;
`json-server --watch db.json`
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## 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 [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).