Skip to content

Commit

Permalink
feat(app): add movies
Browse files Browse the repository at this point in the history
  • Loading branch information
ngfelixl committed Nov 18, 2020
1 parent efc12e2 commit 231695e
Show file tree
Hide file tree
Showing 15 changed files with 208 additions and 592 deletions.
27 changes: 2 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
# NgrxComponentStoreTesting

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.1.7.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app 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. 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).
This is an example project for unit testing NgRX component store components. There are tests for the
component store itself and also integration tests for the component making use of the component store.
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"test": "ng test --source-map=false",
"lint": "ng lint",
"e2e": "ng e2e"
},
Expand All @@ -19,6 +19,7 @@
"@angular/platform-browser": "~10.1.6",
"@angular/platform-browser-dynamic": "~10.1.6",
"@angular/router": "~10.1.6",
"@ngrx/component-store": "^10.0.1",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
Expand Down
6 changes: 6 additions & 0 deletions src/app/app.component.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.toolbar {
padding: 20px;
background-color: steelblue;
color: white;
font-size: 18px;
}
Loading

0 comments on commit 231695e

Please sign in to comment.