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

https://github.com/wolven531/how-to-ng

A repo that demonstrates various Angular techniques (deploy config - Heroku)
https://github.com/wolven531/how-to-ng

angular angularjs-applications angularjs-apps angularjs-framework heroku ng

Last synced: 26 days ago
JSON representation

A repo that demonstrates various Angular techniques (deploy config - Heroku)

Awesome Lists containing this project

README

          

# How To NG

This repository is used to demonstrate various Angular techniques

## Requirements

* NodeJS (running version 14.x.x)
* NPM (running version 6.x.x)

## Scripts

### Important

* `npm run build` - Compiles a complete `dist` folder for simple FTP-style deployment
* `npm run serve` - Starts the application locally on prt 8080 and opens the system's default browser to the application
* `npm start` - Starts the application locally
* `npm test` - Runs the unit tests and reports code coverage

### Miscellaneous

* Angular related
* `npm run ng` - used by Angular CLI for various tasks
* Git related
* `npm run write-git-commit-to-file` - used to bump the version listed in version.info (during precommit hook)
* `npm run prepare` - used to setup the Husky CLI tool
* Heroku related
* `npm run heroku-postbuild` - used by Heroku to generate a deployable directory (`dist`)
* `npm run heroku-prebuild` - used by Heroku to install application dependencies
* `npm run start:heroku` - used by Heroku to start the application
* NodeJS / NPM related
* `npm run prebuild` - generic script that installs dependencies prior to a build step

### Notes

This project was seeded [using this guide](https://elements.heroku.com/buttons/pbraswell/heroku-angular-seed)

Current pipeline status - [![pipeline status](https://gitlab.com/Wolven531/how-to-ng/badges/main/pipeline.svg)](https://gitlab.com/Wolven531/how-to-ng/-/commits/main)

#### TODO

* Improve navigation (add nav items to new components)
* Hook up address form on Game component to address form
* Add nicer intro page (since site is live)