Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sergioalberto/angular-samples

Here you can find some examples about Angular Framework
https://github.com/sergioalberto/angular-samples

Last synced: about 18 hours ago
JSON representation

Here you can find some examples about Angular Framework

Awesome Lists containing this project

README

        

# Angular Samples
Here you can find some examples about Angular Framework. These projects were generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.1.1.

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

Examples:
![Alt text](my-store/src/assets/my-store.png?raw=true "My Store")
![Alt text](my-app/src/assets/my-app.png?raw=true "My App")

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

## Deploy on Firebase
Run
- `npm install -g firebase-tools`
- `firebase login`
- `firebase init` (after to build the project (`ng build --prod`), select `Hosting: Configure and deploy Firebase Hosting sites` option and use `dist/my-store` path)
- `firebase deploy`

Go to [My Store](https://food-delivery-mmxqxb.web.app/)

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