Skip to content

casjay-forks/vue-firestore-reddit-clone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Stack Reddit Clone with Firebase Firestore, Vue.js/Vuex, Bulma

Extra

  • Hide submit form if not logged in
  • Show Usernames
  • Show User Images
  • Format Dates
  • Fix card formatting
  • Search/Filter Posts
  • UpVote/DownVote Posts
    • Update Rules
    • Order by total score
    • Order by created
  • Add comment to Post
    • Update Rules
  • User Profile
    • Show Submitted Posts
    • Show UpVoted Posts
    • Show Comments
  • Edit Post
  • Edit Comment
  • UpVote/DownVote Comment
  • Reply to Comment
  • Display Error Image if bad link/error
  • Cloud Function Score Aggregator
  • Delete Post
    • Cloud Function "Cascade Delete" comments
  • Upload Images to Firebase storage

firebase setup

Permission settings

rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {

    match /{document=**} {
      allow read: if true;
    }
    
    match /users/{user_id} {
    	allow write: if request.auth.uid == user_id;
    }
    
    match /posts/{post_id} {
    	allow write: if request.auth.uid == request.resource.data.user_id;
  }
 }
}

Resources

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 70.9%
  • JavaScript 27.7%
  • HTML 1.4%