https://github.com/base-apps/angular-base-apps-template
Starter template for Angular Base Apps project
https://github.com/base-apps/angular-base-apps-template
Last synced: 12 months ago
JSON representation
Starter template for Angular Base Apps project
- Host: GitHub
- URL: https://github.com/base-apps/angular-base-apps-template
- Owner: base-apps
- Created: 2016-07-15T08:45:30.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-05T19:08:52.000Z (about 9 years ago)
- Last Synced: 2025-04-12T05:14:47.753Z (about 1 year ago)
- Language: CSS
- Homepage: http://base-apps.github.io/angular-base-apps/templates/angular-base-apps-template
- Size: 96.7 KB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Angular Base Apps Template
This is a starter project for web application based on Angular Base Apps,
powered by [Babel](https://babeljs.io/) and [Brunch](http://brunch.io).
It provides you with a sensible defaults to bootstrap your application on a modern
language platform with compile time safety across the entire stack of static resources.
[](https://travis-ci.org/base-apps/angular-base-apps-template)
## Features
* ES6 by default
* Reloading of resource on save
* Modular folder-by-feature architecture
* Javascript/CSS/HTML minification for production
* [Karma](http://karma-runner.github.io) for unit tests
* [ESlint](http://http://eslint.org) for linting
## Requirements
You'll need the following software installed to get started.
- [Node.js](http://nodejs.org): Use the installer for your OS.
- [Git](http://git-scm.com/downloads): Use the installer for your OS.
- Windows users can also try [Git for Windows](http://git-for-windows.github.io/).
## Get Started
Clone this repository, where `app` is the name of your app.
```bash
git clone git@github.com:base-apps/angular-base-apps-template.git starter
```
Change into the directory.
```bash
cd starter
```
Install the dependencies. If you're running Mac OS or Linux, you may need to run `sudo npm install` instead, depending on how your machine is configured.
```bash
npm install
```
While you're working on your project, run:
```bash
npm start
```
This will compile your front end resource and assemble your Angular app.
**Now go to `localhost:3333` in your browser to see it in action.**
To build your app for production, run:
```bash
npm run production
```
To run unit tests with [karma](http://karma-runner.github.io):
```bash
npm test
```
# Running in Vagrant box
You can add following lines to your index.hmtl to resolve websocket issues.
```html
window.brunch = window.brunch || {};
window.brunch.server = 'guest_ip_address';
```