Skip to content

Commit

Permalink
Create a login and registration page (#5)
Browse files Browse the repository at this point in the history
* Add AngularFire package

* Implement basic authentication

* Move registered-succesfully to register page

* Implement forgot password page

* Add action page for actions from email links

* Add validation to forms

* Remove unnecessary console logs

* Remove unnecessary console logs
  • Loading branch information
Gojodzojo authored May 28, 2022
1 parent b02850a commit 4ac8244
Show file tree
Hide file tree
Showing 50 changed files with 3,487 additions and 1,126 deletions.
11 changes: 10 additions & 1 deletion .firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"projects": {
"default": "watering-reminder"
},
"targets": {
"watering-reminder": {
"hosting": {
"watering-reminder": [
"watering-reminder"
]
}
}
}
}
}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@ testem.log
.DS_Store
Thumbs.db

*.log
# Firebase
.firebase
*-debug.log
.runtimeconfig.json
12 changes: 11 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,19 @@
],
"scripts": []
}
},
"deploy": {
"builder": "@angular/fire:deploy",
"options": {
"prerender": false,
"ssr": false,
"browserTarget": "watering-reminder:build:production",
"firebaseProject": "watering-reminder",
"firebaseHostingSite": "watering-reminder"
}
}
}
}
},
"defaultProject": "watering-reminder"
}
}
63 changes: 49 additions & 14 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,55 @@
],
"source": "functions"
},
"hosting": {
"public": "dist/watering-reminder",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
"hosting": [
{
"public": "dist/watering-reminder",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
{
"target": "watering-reminder",
"public": "dist/watering-reminder",
"ignore": [
"**/.*"
],
"headers": [
{
"source": "*.[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].+(css|js)",
"headers": [
{
"key": "Cache-Control",
"value": "public,max-age=31536000,immutable"
}
]
},
{
"source": "/@(ngsw-worker.js|ngsw.json)",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache"
}
]
}
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
],
"emulators": {
"auth": {
"host": "127.0.0.1",
Expand Down
Loading

0 comments on commit 4ac8244

Please sign in to comment.