qdl123 / personection-cloudfunctions Goto Github PK
View Code? Open in Web Editor NEWContains all cloud functions for Personection
Contains all cloud functions for Personection
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.
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.
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.
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.
Github is warning that there is a security vulnerability. Research what that vulnerability is and work to resolve it.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.