Toyakki / JSIT

For CSC207 Final project
GNU General Public License v3.0
0 stars 0 forks source link

Dropbox data object methods (Tohya, Isaac) #75

Closed theflickerman404 closed 13 hours ago

theflickerman404 commented 3 days ago

the drop box data access object does not currently support the following methods:

as indicated in the project group chat, I recommend storing all user emails and other information as a text file in some format and accessing that to load the necessary data to implement the above methods

Toyakki commented 1 day ago

Finished saveUser, getFiles, and userExistsByEmail methods. Their tests worked well.

Toyakki commented 1 day ago

I also finished the getUserByEmail method. The dropbox test worked well.

Toyakki commented 1 day ago

The folder structure would look like the following in the dropbox. / ├── CSC207/ │ ├── henrik-ibsen707@gmail.com/ │ │ ├── info.txt │ │ ├── Assignment1.pdf │ │ └── Assignment2.pdf │ ├── student2@example.com/ │ │ ├── info.txt │ │ ├── Assignment1_Submission.pdf │ │ └── Assignment2_Submission.pdf │ └── instructor@example.com/ │ └── info.txt ├── STA257/ │ ├── henrik-ibsen707@gmail.com/ │ │ ├── info.txt │ │
│ └── student1@example.com/ │ └── info.txt

Toyakki commented 1 day ago

I'm not sure what you want to return in getAllUsers, so I leave it for the moment.