https://github.com/alterebro/angular-movies-webapp
Test Single Page Web Application using Angular, TypeScript and Sass
https://github.com/alterebro/angular-movies-webapp
angular angular-cli sass spa typescript webapp
Last synced: 2 months ago
JSON representation
Test Single Page Web Application using Angular, TypeScript and Sass
- Host: GitHub
- URL: https://github.com/alterebro/angular-movies-webapp
- Owner: alterebro
- Created: 2017-08-23T08:46:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-23T10:08:56.000Z (over 7 years ago)
- Last Synced: 2025-01-14T13:55:32.739Z (4 months ago)
- Topics: angular, angular-cli, sass, spa, typescript, webapp
- Language: TypeScript
- Homepage: https://alterebro.github.io/angular-movies-webapp/
- Size: 490 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Angular Movies WebApp](https://alterebro.github.io/angular-movies-webapp/)
- **Live Demo URL**: [https://alterebro.github.io/angular-movies-webapp/](https://alterebro.github.io/angular-movies-webapp/)
---
**Test Single Page Web Application built using Angular**.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.3.1.```sh
npm install -g @angular/cli # Requires Node 6.9.0 or higher, together with NPM 3 or higher.
npm install # Install dependencies
```## Development server
```sh
$ ng serve # `--open` flag to open the browser
# Serves to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
```## Build
```sh
# The build artifacts will be stored in the `dist/` directory.
$ ng build# Use the `-prod` flag for a production build.
$ ng build --prod# Use the `--output-path` option to change the build directory target.
$ ng build --prod --output-path=docs
```## Deployment
```sh
# Deployment on GitHub Pages via `angular-cli-ghpages`
$ npm i -g angular-cli-ghpages # Globally installation# Usage :
$ ng build --prod --base-href "/angular-movies-webapp/" # Build
$ angular-cli-ghpages # Publish on gh-pages branch# Alternatively (different target folder i.e: docs)
$ ng build --prod --base-href "/angular-movies-webapp/" --output-path=docs
$ angular-cli-ghpages --dir docs
```## Tests
```sh
# Before running the tests make sure you are serving the app via `ng serve`.
$ ng test # execute the unit tests via Karma.
$ ng e2e # execute the end-to-end tests via Protractor.
```---