Skip to content

Commit

Permalink
Add json-server
Browse files Browse the repository at this point in the history
  • Loading branch information
Hetty82 committed Apr 8, 2018
1 parent 617cbfd commit 2d2735d
Show file tree
Hide file tree
Showing 23 changed files with 1,095 additions and 81 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ Thumbs.db

# Custom
._*
/api
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
# h82 - Games

Games made with Angular by hetty82.\
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.4.

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

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.
## Json api server
Run `npm run json-server` for a [json server](https://github.com/typicode/json-server).\
Navigate to `http://localhost:3000/` to view the data.

## 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 `npm run test` to execute the unit tests via [Jest](https://facebook.github.io/jest/).\
Run `npm run test:watch` to run and watch the unit tests.

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

0 comments on commit 2d2735d

Please sign in to comment.