Git Product home page Git Product logo

personection-cloudfunctions's Introduction

Personection-CloudFunctions

personection-cloudfunctions's People

Contributors

qdl123 avatar

Watchers

James Cloos avatar

personection-cloudfunctions's Issues

Store plan members in a subcollection

Right now members of a plan are stored as an array in the plan document. This causes multiple issues including but not limited to, difficulty editing collection, inefficient getting user information, etc. Although there may be an argument on each side, it seems to be a more natural use of the firestore architecture to store the members in a subcollection. This means adjusting anything in the plan making algorithm to get members from the subcollection.

Look into using Reduce to replace Map to avoid unflattened friend array

Right now the creation of the friendsPlans array is an ugly process of using a map function to create a multidimensional array where the plans are embedded inside of an array of friends which has to be unpacked. I believe there is potential to clean this up significantly by using the reduce method instead of map.

Experiment with repo restructuring

See if the functions folder it necessary. If possible I think it's better to have an src folder and have all extraneous files be above that, but firebase may not allow it.

Fully Implement Guaranteed merging

Implement automatic merges with loners and pairs. Should successfully write to all plan subcollections uniformly. If nothing past this was implemented, the algorithm should still work somewhat up to groups of 3 which is a definite accomplishment. This is a barebones solution.

Resolve Security Concern

Github is warning that there is a security vulnerability. Research what that vulnerability is and work to resolve it.

Implement Blocking Conformance on Plan Making Algorithm

It's vital that users are able to block others in order to insure everyone is able to have an experience free from anxiety while using the app. Assuming the interface insures that blocking lists are stored under each user, a check to insure that no one is put in a plan with someone on their block list must be implemented.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.