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.
- 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
- AngularFire for Firebase integration
- firebase-mock for unit testing Firebase code
You'll need the following software installed to get started.
- Node.js: Use the installer for your OS.
- Git: Use the installer for your OS.
- Windows users can also try Git for Windows.
Update app/config/config-firebase.js
to include your Firebase configuration. You can find more info here.
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