https://github.com/codediodeio/ngrx-fire
Demo app using Angular + ngrx + Firebase
https://github.com/codediodeio/ngrx-fire
Last synced: 2 months ago
JSON representation
Demo app using Angular + ngrx + Firebase
- Host: GitHub
- URL: https://github.com/codediodeio/ngrx-fire
- Owner: codediodeio
- Created: 2017-08-28T19:20:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-08T15:06:57.000Z (almost 8 years ago)
- Last Synced: 2024-10-19T07:03:18.220Z (8 months ago)
- Language: TypeScript
- Size: 463 KB
- Stars: 110
- Watchers: 13
- Forks: 54
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NgrxFire
NgrxFire is a redux demo app created with Angular ngrx and Firebase. Including Firebase Google OAuth and the Realtime Database.
## Build your Angular ngrx on a Solid Foundation
Learn Angular ngrx Redux basics by building this app step-by-step.
- [Video Lessons and Screencasts](https://angularfirebase.com)
- [Join the Slack Team](https://join.slack.com/angularfirebase/shared_invite/MjA2NTgxMTI0MTk2LTE0OTg4NTQ4MDAtMjhhZDIzMjc0Mg)
## Usage
#### Clone repository and prepare to build:
Use the following terminal commands to prepare to build your application:
- `git clone https://github.com/codediodeio/ngrx-fire.git ngrxFire`
- `cd ngrxFire`
- `npm install`#### Create a Firebase account
* Create a Firebase account at https://firebase.google.com/.
* Configure Authentication for the web app:
> 
* Seed your Firebase database with sample post data:
> 
```typescript
{
"posts" : {
"testPost" : {
"text" : "First Post [created in console]",
"votes": 0
}
}
}
```
* Gather your Firebase configuration information:
> 
* Create the environment file below `/src/environments/environment.ts`.
```typescript
export const environment = {
production: false,
firebaseConfig: {
apiKey: 'APIKEY',
authDomain: 'DEV-APP.firebaseapp.com',
databaseURL: 'https://DEV-APP.firebaseio.com',
storageBucket: 'DEV-APP.appspot.com'
}
};
```
* And finally `ng serve`## Additional Details
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.3.2.
It uses AngularFire2 v4.0
Available under the MIT License.