An open API service indexing awesome lists of open source software.

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 .

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).