You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0-rc.2.
3
+
FireStarter is designed to handle the basic features most Angular+Firebase apps need. It can serve as a foundation to quickly roll out more complex features.
4
4
5
-
## Development server
5
+
Demo
6
6
7
-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
7
+
## Features
8
8
9
-
## Code scaffolding
9
+
- Authentication w/ Router Guard
10
+
- Realtime Database CRUD Demo
11
+
- File Uploads to Firebase Storage
12
+
- SASS-based
13
+
- Bootstrap 4
10
14
11
-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.
15
+
## Usage
12
16
13
-
## Build
17
+
Create an account at https://firebase.google.com/
14
18
15
-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
19
+
`git clone`
20
+
`cd firestarter`
21
+
`npm install`
16
22
17
-
## Running unit tests
23
+
Create two new files in the `/environments` dir.
18
24
19
-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
25
+
environment.ts
26
+
```typescript
27
+
exportconst environment = {
28
+
production: false,
29
+
firebaseConfig: {
30
+
apiKey: "APIKEY",
31
+
authDomain: "DEV-APP.firebaseapp.com",
32
+
databaseURL: "https://DEV-APP.firebaseio.com",
33
+
storageBucket: "DEV-APP.appspot.com"
34
+
}
35
+
};
36
+
```
37
+
environment.prod.ts
38
+
```typescript
39
+
exportconst environment = {
40
+
production: true,
41
+
firebaseConfig: {
42
+
// same as above, or use a different firebase project to isolate environments
43
+
}
44
+
};
45
+
```
20
46
21
-
## Running end-to-end tests
47
+
And finally `ng serve`
22
48
23
-
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24
-
Before running the tests make sure you are serving the app via `ng serve`.
49
+
## Apps Using FireStarter in Production
25
50
26
-
## Further help
27
-
28
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
51
+
-[ArtiFilter](https://app.artifilter.com) - Neural Art Generator
0 commit comments