Skip to content

Commit 48ba5e9

Browse files
authored
Merge pull request #7 from jeroenouw/cleaning
Added compodoc, updated firebase & documentation and cleaned some code
2 parents 9bc304f + 6c535f5 commit 48ba5e9

31 files changed

+1415
-447
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
# dependencies
88
/node_modules
99

10+
# compodoc documentation
11+
/documentation
12+
1013
# IDEs and editors
1114
/.idea
1215
.project
@@ -30,9 +33,6 @@
3033
npm-debug.log
3134
testem.log
3235
/typings
33-
src/app/components/carousel/readme.md
34-
readme.txt
35-
todo.txt
3636
package-lock.json
3737

3838
# e2e

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,37 @@
22
[![npmversion](https://img.shields.io/npm/v/ngxmatfire.svg)]()
33
[![npmlicense](https://img.shields.io/npm/l/ngxmatfire.svg)](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/LICENSE/)
44
[![dependencies](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/package.json)
5-
[![updates](https://img.shields.io/badge/updates-weekly-yellowgreen.svg)](https://github.com/jeroenouw/AngularMaterialFirebase/commits/master)
65
[![stars](https://img.shields.io/github/stars/jeroenouw/AngularMaterialFirebase.svg)](https://github.com/jeroenouw/AngularMaterialFirebase/stargazers)
76
[![downloads](https://img.shields.io/npm/dy/ngxmatfire.svg)]()
87

9-
![logo](https://jerouw.nl/wp-content/uploads/2017/05/ngfbmd.png "Logo")
8+
![logo](https://jerouw.nl/wp-content/uploads/2017/05/ngfbmd.png "Logo")
109

1110
# Angular 6 | Material Design | Firebase - Starter kit
11+
1212
A full stack starter app containing [Angular 6](https://angular.io), [Material](https://material.io/) and [Firebase](https://firebase.google.com/).
1313

14-
## [Live demo](http://ngxmatfire.jerouw.nl)
15-
![loginpage](https://jerouw.nl/wp-content/uploads/2017/05/ngfbmdprintscreen.png "Logo")
14+
## [Live demo](http://ngxmatfire.jerouw.nl)
15+
16+
![loginpage](https://jerouw.nl/wp-content/uploads/2017/05/ngfbmdprintscreen.png "Logo")
1617

1718
## Quick start, Development & Production
18-
[Get started now](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/DEVELOPER.md)
19+
20+
[Get started now](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/DEVELOPER.md)
1921

2022
## Features
21-
[Everything included in this project](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/FEATURES.md)
23+
24+
[Everything included in this project](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/FEATURES.md)
25+
26+
## Compodoc
27+
28+
[Generate technical documentation automatically](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/COMPODOC.md)
2229

2330
## Future updates
24-
[To do and finish list](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/TODO.md)
31+
32+
[To do and finish list](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/TODO.md)
2533

2634
## Contributing
35+
2736
Want to file a bug, contribute some code, or improve documentation? Feel free to place an [issue](https://github.com/jeroenouw/AngularMaterialFirebase/issues).
2837

2938
## License

angular.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"root": "",
88
"sourceRoot": "src",
99
"projectType": "application",
10+
"prefix": "app",
1011
"schematics": {},
1112
"architect": {
1213
"build": {

docs/COMPODOC.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Compodoc automated documentation
2+
3+
[Compodoc](https://compodoc.github.io/website/) is a documentation tool for Angular applications. It generates a static documentation of your application. Others developers of your team, or internet visitors for a public documentation, can easily understand the features of your application or library.
4+
5+
## How to run
6+
7+
Generate documentation.
8+
9+
```cmd
10+
npm run compodoc:g
11+
```
12+
13+
Generate documentation and serve on `http://localhost:8080`.
14+
15+
```cmd
16+
npm run compodoc:s
17+
```
18+
19+
Generate documentation, serve on `http://localhost:8080` and watch changes.
20+
21+
```cmd
22+
npm run compodoc:w
23+
```

docs/DEVELOPER.md

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,37 @@
1+
# DEVELOPER
2+
13
## Quick start
4+
25
First clone this repo: `git clone https://github.com/jeroenouw/AngularMaterialFirebase.git`.
36
Change directory to this project
47
Run `npm install` to install all the dependencies.
5-
Run `npm start` to run this project. This will run with the AoT Compiler.
8+
Run `npm start` to run this project. This will run with the AoT Compiler.
69
Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
710

811
## Development
12+
913
For own projects please use different keys in `src/app/app.component.ts`:
10-
``` firebase.initializeApp({ ```
11-
``` // For other projects use different keys```
12-
``` apiKey: '[YOUR_KEY]',```
13-
``` authDomain: '[YOUR_KEY]',```
14-
``` databaseURL: '[YOUR_KEY]',```
15-
``` projectId: '[YOUR_KEY]',```
16-
``` storageBucket: '[YOUR_KEY]',```
17-
``` messagingSenderId: '[YOUR_KEY]'```
18-
``` });```
19-
14+
15+
```typescript
16+
17+
firebase.initializeApp({
18+
// For other projects use different keys
19+
apiKey: '[YOUR_KEY]',
20+
authDomain: '[YOUR_KEY]',
21+
databaseURL: '[YOUR_KEY]',
22+
projectId: '[YOUR_KEY]',
23+
storageBucket: '[YOUR_KEY]',
24+
messagingSenderId: '[YOUR_KEY]'
25+
});
26+
27+
```
28+
2029
Run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
2130

2231
To build the development environment, run `npm run dist`.
2332

2433
## Production
25-
To build the default production environment, run `npm run prod`. This will run with the AoT Compiler.
26-
To build the production environment with reduced file size, run `npm run prod:opt` (Takes extra time to build with build optimizer).
2734

35+
To build the production environment, run `npm run prod`. This will run with the AoT Compiler.
36+
To build the production environment without hashing in the files, run `npm run prod:hashless`. This will give packages without a hash.
37+
To build the production environment with reduced file size, run `npm run prod:opt` (Takes extra time to build with build optimizer).

docs/FEATURES.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
## Features in this project:
1+
# FEATURES
2+
3+
## Features in this project
4+
25
* Angular 6 front-end with Material Design
36
* Firebase back-end (0Auth authentication and NoSQL database)
7+
* Automated documentation (compodoc)
48
* Home page
59
* About page
610
* Contact page
@@ -23,7 +27,8 @@
2327
* Back to top button
2428
* Loading spinner and progress bar
2529

26-
## Material Design usage in this project:
30+
## Material Design usage in this project
31+
2732
* Mat Datepicker
2833
* Mat Input
2934
* Mat Slide toggle

docs/TODO.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
1-
All improvements to this repo will first be done in the development branch.
1+
# TODO
22

3-
## To Do List
4-
* Make every component responsive (flex-layout)
3+
All improvements to this repo will first be done in a sub branch.
4+
5+
## To Do List
6+
7+
* Make every component responsive (@angular/flex-layout)
8+
* Add Bazel
9+
* Add Closure
510

611
## To Finish List (known issues)
12+
713
### Auth
14+
815
* Cellphone authentication (optimizing)
916
* Google, Facebook, Twitter & Github signin/signup
10-
* Error messages: Email already exists, login failed, registration failed
17+
* Error messages (email already exists, login failed, registration failed)
1118

1219
### Profile
20+
1321
* Profile image uploading
1422
* Messaging layout and functionality
1523

1624
### Tests
25+
1726
* Unit
1827
* e2e
1928

2029
### Other
21-
* i18n translations
30+
2231
* 360 view only working on localhost

messages.xlf

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)