-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
2 changed files
with
2 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,7 @@ | ||
# Shaper | ||
Shaper is a simple cloud-based Todo app | ||
|
||
 | ||
|
||
## Setup your own Firebase project | ||
Shaper uses Firebase Authentication and Firestore to maintain user data. | ||
|
||
### Getting Started | ||
- [Add Firebase to your Android Project](https://firebase.google.com/docs/android/setup). | ||
- Note: you don't need to edit project's gradle files as they are already ready to go. | ||
|
||
### Google Sign In Setup | ||
|
||
- Go to the Firebase Console and navigate to your project: | ||
- Select the **Auth** panel and then click the **Sign In Method** tab. | ||
- Click **Google** and turn on the **Enable** switch, then click **Save**. | ||
|
||
### Cloud Firestore Security Rules | ||
|
||
Add the following security rules to your project in the: | ||
[rules tab](https://console.firebase.google.com/project/_/database/firestore/rules): | ||
|
||
``` | ||
service cloud.firestore { | ||
service cloud.firestore { | ||
match /databases/{database}/documents { | ||
match /users/{userId} { | ||
allow write: if request.auth != null; | ||
allow read: if request.auth.uid == userId; | ||
match /tasks/{documents=**} { | ||
allow write, read: if request.auth != null && request.auth.uid == userId; | ||
} | ||
} | ||
} | ||
} | ||
``` | ||
# Shaper | ||
Shaper is a simple Todo app made with the help of Room database and kotlin coroutines | ||
|
||
## Support | ||
Reach out to me at [email protected] | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.