https://github.com/jrodl3r/ng-fire-universal
:fire: Ship Angular + Firebase Apps to Google Cloud (Fast)
https://github.com/jrodl3r/ng-fire-universal
angular firebase
Last synced: 6 months ago
JSON representation
:fire: Ship Angular + Firebase Apps to Google Cloud (Fast)
- Host: GitHub
- URL: https://github.com/jrodl3r/ng-fire-universal
- Owner: jrodl3r
- Created: 2018-12-08T00:42:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T11:28:15.000Z (over 3 years ago)
- Last Synced: 2025-04-02T19:47:27.071Z (over 1 year ago)
- Topics: angular, firebase
- Language: TypeScript
- Homepage: https://ng-fire.com
- Size: 3.52 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://ng-fire.com)


[](https://opensource.org/licenses/MIT)
> Ship [Angular](https://angular.io) + [Firebase](https://firebase.com) Apps to the Cloud (Fast) » [ng-fire.com](https://ng-fire.com)
## Quick Start
**1. Install:** `npm run init`
**2. Setup Google Cloud:**
- Create an account + project at [cloud.google.com](https://cloud.google.com)
- Install `gcloud` CLI utility from [cloud.google.com/sdk](https://cloud.google.com/sdk)
**3. Setup Firebase:**
- Create an account + project at [firebase.com](https://firebase.com) (use identical project names)
- Add credentials to `/firebase.ts` (ignored by default in [.gitignore](https://github.com/jrodl3r/ng-fire-universal/blob/master/.gitignore)):
```javascript
export const config = {
apiKey: 'API_KEY',
authDomain: 'APP_NAME.firebaseapp.com',
databaseURL: 'https://APP_NAME.firebaseio.com',
projectId: 'APP_NAME',
storageBucket: 'APP_NAME.appspot.com',
messagingSenderId: '123456789012'
appId: '1:1234567890:web:1234567890'
};
```
**4. Publish:** `npm run publish`
## Commands
- `dev` » Local Angular + Firebase Development w/ HMR
- `build:ssr` » Compile Browser + Server Bundles
- `start` or `serve:ssr` » Start Production Server w/ SSR
- `test` » Start Jest Unit Testing
- `test:watch` » Start Jest in Watch Mode
- `e2e` » Launch Cypress End-to-End Testing [TODO]
- `deploy` » Start Google Cloud Platform Release
- `deploy:functions` » Start Firebase Cloud Functions Release
- `init` » Setup Project + Install Dependencies
- `preview` » Build + Start Local Server w/ SSR
- `publish` » Build + Deploy to Google Cloud & Firebase
- `ship` » Build + Deploy to Google Cloud
_(checkout **[package.json](https://github.com/jrodl3r/ng-fire-universal/blob/master/package.json)** for more details)_
