Skip to content

Commit

Permalink
Add firebase (#4)
Browse files Browse the repository at this point in the history
* Add firebase

* Add firebase through angularfire

* Move key config file to util directory

* Remove previous firebase files

* Add Google Login

* Home page (#5)

* added theme changes and added basic speaker card

* removed images

* added basic sidenav

* added all the page compoenents and finished speaker card component

* added partial about secction

* flxed nav bar and added page components

* added data icon to about section on homepage

* added ng cli ghpages

* update in angular

* added speaker section to home page

* made some minor changes in css

* added gallery section in home page

* added who we are? section on home page

* added partners section

* added footer

* added home page comomponent

* 🔧 Fix CI build (#12)

* Fix #10 (#13)
  • Loading branch information
thepushkarp authored and aashutoshrathi committed Sep 1, 2019
1 parent 281a933 commit b0aa1ca
Show file tree
Hide file tree
Showing 27 changed files with 894 additions and 106 deletions.
13 changes: 11 additions & 2 deletions .gitignore
Expand Up @@ -22,7 +22,7 @@ speed-measure-plugin.json
*.sublime-workspace

# IDE - VSCode
.vscode/*
.vscode/
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
Expand All @@ -42,4 +42,13 @@ testem.log
# System Files
.DS_Store
Thumbs.db
.vscode/

# Firebase
**/.firebaserc

#Firebase Patch
.runtimeconfig.json
.firebase/

# Firebase Config - Add Firebase configuration to this file
/util/keyConfig.ts
17 changes: 17 additions & 0 deletions README.md
Expand Up @@ -2,6 +2,23 @@

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.3.

## Adding Firebase Config

Add the Firebase Configuration to `util/keyConfig.ts`. You can find your project configuration in [the Firebase Console](https://console.firebase.google.com/). From the project overview page, click **Add Firebase** to your web app.

```ts
export const config = {
apiKey: "<your-key>",
authDomain: "<your-project-authdomain>",
databaseURL: "<your-database-URL>",
projectId: "<your-project-id>",
storageBucket: "<your-storage-bucket>",
messagingSenderId: "<your-messaging-sender-id>",
appId: "<your-app-id>"
}

```

## Development server

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.
Expand Down
6 changes: 6 additions & 0 deletions firebase.json
@@ -0,0 +1,6 @@
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
}
}
4 changes: 4 additions & 0 deletions firestore.indexes.json
@@ -0,0 +1,4 @@
{
"indexes": [],
"fieldOverrides": []
}
8 changes: 8 additions & 0 deletions firestore.rules
@@ -0,0 +1,8 @@
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth.uid != null;
}
}
}

0 comments on commit b0aa1ca

Please sign in to comment.