Created a database with 3 collections. Login data which stores the used login form information. avatar data which stores the data from the avatar profiles and the reg1 collection which stores all the user data from the registration forms.
At first i stored all my userdata in 3 different collections from forms on 3 different pages. However i reworked my functions to use updateOne() instead of insertOne(). now i have all my userdata stored in 1 collections which is easier to pass to a variable and access throughout my project.
Storage
Name
Stephan Kop
Class
Tech 3
Repo link
https://github.com/superstephan1/Project-Tech
Summary
Created a database with 3 collections. Login data which stores the used login form information. avatar data which stores the data from the avatar profiles and the reg1 collection which stores all the user data from the registration forms.
Resources used
https://www.youtube.com/watch?v=pWbMrx5rVBE this video helped me understand the functionality of mongodb.
Any thoughts?
At first i stored all my userdata in 3 different collections from forms on 3 different pages. However i reworked my functions to use updateOne() instead of insertOne(). now i have all my userdata stored in 1 collections which is easier to pass to a variable and access throughout my project.