Skip to content

Commit 4146a3b

Browse files
committed
Merge branch 'main' of github.com:Hcnc100/BlogCompose
2 parents 1ac1a9c + 931b595 commit 4146a3b

1 file changed

Lines changed: 42 additions & 18 deletions

File tree

README.md

Lines changed: 42 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,73 @@
22
A Simple Blog App using Jetpack Compose, Flow, Navigation Compose, Room and Firebase
33

44
## Instructions
5+
6+
# Auth
7+
58
1. Download your Firebase configuration file (Enabling authentication and Cloud Firestore)
69
2. Create or register your application in the Facebook developer console to enable authentication with Facebook and add the codes of:
710

811
* facebook_application_id
912
* facebook_login_protocol_scheme
1013
* facebook_client_token
1114

12-
3. Enable Cloud Vision API in your Google Cloud Platform
13-
4. Deploy this cloud functions [BlogComposeFunctions](https://github.com/Hcnc100/BlogComposeFunctions)
15+
# Notification
16+
If your enable notification to user for comment or like, see <a href="https://github.com/Hcnc100/BlogComposeFunctions">BlogComposeFunctions</a>,
17+
if not then only see current notifications force refresh (with swipe refresh)
1418

15-
### Note 1
16-
To upload the images, a moderation mechanism was chosen using cloud functions, if the profile image is detected as adult content, it will be marked as invalid and will not be established as a profile image, in the case of uploading a post with the image will be uploaded, but if it is detected that it is adult content it will be censored, just as in this case the content of the post is moderated. Note that no optimal mechanism was found to moderate usernames, so usernames are not validated.
1719

18-
### Note 2
19-
Notifications use cloud Functions
20-
[BlogComposeFunctions](https://github.com/Hcnc100/BlogComposeFunctions)
20+
### Bug
21+
Has a bug when concatenate my post in profile screen for use a LazyVerticalGrid, wait for them to solve it
2122

2223
## Screenshots
2324
### Auth
2425
<p>
25-
<img src="https://i.imgur.com/oI9IObR.png" alt="auth" width="200"/>
26-
<img src="https://i.imgur.com/oza8oUO.png" alt="registry" width="200"/>
26+
<img src="https://i.imgur.com/7JI3I83.png" alt="auth" width="200"/>
27+
<img src="https://i.imgur.com/7mADeoV.png" alt="registry" width="200"/>
2728
</p>
2829

2930
### Empty home
3031

3132
<p>
32-
<img src="https://i.imgur.com/q2PgiuQ.png" alt="empty post" width="200"/>
33-
<img src="https://i.imgur.com/A9EV78Z.png" alt="empty notify" width="200"/>
34-
<img src="https://i.imgur.com/cE2btGx.png" alt="empty profile" width="200"/>
33+
<img src="https://i.imgur.com/siFfaTA.png" alt="empty post" width="200"/>
34+
<img src="https://i.imgur.com/xPfQzQ9.png" alt="empty notify" width="200"/>
35+
<img src="https://i.imgur.com/cqCVNI6.png" alt="empty profile" width="200"/>
3536
</p>
3637

3738
### Create and details post
3839

3940
<p>
40-
<img src="https://i.imgur.com/DOY6EBI.png" alt="create post" width="200"/>
41-
<img src="https://i.imgur.com/1OwN5p6.png" alt="example post" width="200"/>
42-
<img src="https://i.imgur.com/e4vytt6.png" alt="post no empty" width="200"/>
43-
<img src="https://i.imgur.com/MxMngxx.png" alt="details post" width="200"/>
41+
<img src="https://i.imgur.com/y3GvDBa.png" alt="create post" width="200"/>
42+
<img src="https://i.imgur.com/zyR4gED.png" alt="example post" width="200"/>
43+
<img src="https://i.imgur.com/ry1kTPl.png" alt="post no empty" width="200"/>
44+
<img src="https://i.imgur.com/xmgQ57Y.png" alt="details post" width="200"/>
4445
</p>
4546

4647
### Notifications
4748
<p>
48-
<img src="https://i.imgur.com/8pxdMTn.png" alt="notifications" width="200"/>
49-
<img src="https://i.imgur.com/oAfYX3h.png" alt="notify 2" width="200"/>
49+
<img src="https://i.imgur.com/QOWS8xb.png" width="200"/>
50+
<img src="https://i.imgur.com/Z0SQSae.png" alt="notify 2" width="200"/>
51+
</p>
52+
53+
### Profile
54+
<p>
55+
<img src="https://i.imgur.com/17hiVBP.png" width="200"/>
56+
</p>
57+
58+
59+
# Firebase
60+
61+
## Rules Cloud Firestore
62+
63+
<p>
64+
<img src="https://i.imgur.com/LUj84qZ.png" width="800"/>
5065
</p>
66+
67+
68+
## Rules Storage
69+
70+
<p>
71+
<img src="https://i.imgur.com/PFXD2EP.png" width="800"/>
72+
</p>
73+
74+

0 commit comments

Comments
 (0)