https://github.com/base-apps/angular-firebase-template
Starter template for Angular Base Apps project with Firebase
https://github.com/base-apps/angular-firebase-template
Last synced: about 1 year ago
JSON representation
Starter template for Angular Base Apps project with Firebase
- Host: GitHub
- URL: https://github.com/base-apps/angular-firebase-template
- Owner: base-apps
- Created: 2016-08-27T05:55:32.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-03T01:02:42.000Z (over 9 years ago)
- Last Synced: 2025-04-12T05:14:56.537Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://base-apps.github.io/angular-base-apps/templates/angular-firebase-template
- Size: 156 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Angular Base Apps Template with Firebase
This is a starter web application project using [Angular Base Apps](http://base-apps.github.io/angular-base-apps/latest/#!/)
and [Firebase](https://firebase.google.com/). The build system is powered by [Babel](https://babeljs.io/)
and [Brunch](http://brunch.io), providing you with a sensible default 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-firebase-template)
## Features
### Basic
* 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://eslint.org) for linting
### Firebase
* [AngularFire](https://github.com/firebase/angularfire) for Firebase integration
* [firebase-mock](https://github.com/soumak77/firebase-mock) for unit testing Firebase code
## 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/).
## Configuration
Update `app/config/config-firebase.js` to include your Firebase configuration. You can find more info [here](https://firebase.google.com/docs/web/setup).
## Get Started
Clone this repository, where `app` is the name of your app.
```bash
git clone git@github.com:base-apps/angular-firebase-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
```