Skip to content

base-apps/angular-firebase-template

Repository files navigation

Angular Base Apps Template with Firebase

This is a starter web application project using Angular Base Apps and Firebase. The build system is powered by Babel and Brunch, 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.

Build Status

Features

Basic

  • ES6 by default
  • Reloading of resource on save
  • Modular folder-by-feature architecture
  • Javascript/CSS/HTML minification for production
  • Karma for unit tests
  • ESlint for linting

Firebase

Requirements

You'll need the following software installed to get started.

Configuration

Update app/config/config-firebase.js to include your Firebase configuration. You can find more info here.

Get Started

Clone this repository, where app is the name of your app.

git clone [email protected]:base-apps/angular-firebase-template.git starter

Change into the directory.

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.

npm install

While you're working on your project, run:

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:

npm run production

To run unit tests with karma:

npm test