- Change port number in tripleThreatServer.js, mainPage.js and photobooth.js to your port number.
- Our submissions will be using Loc Mai's port: 10300.
- Andrew Faust: 9401
- Batool Hossainzadeh: 6829
- Loc Mai: 10300
Start the server
public directory should have the following files:
photo directory should have the following files:
Assetsdirectory which contains all the assets from TA Dani.
username directory should have the following files:
- photos.db (empty database)
Can only select and upload image files. Can upload multiple files and each of them file will have their own upload progress bar.
Can only add up to 10 labels. Can delete labels.
Filtering can only be done one tag at a time. If you wish to filter by a different tag, you must first clear the filter. Filtering by a tag, and then filtering by favorites works, and vice versa. Any of the "clear filter" buttons will make all pictures display again.
If photos are filtered by favorites, and you remove a photo from favorites, it will not disappear until the next filter. Same with tags. The removal of a favorite or a tag is recorded in the database at the time of removal, however.
Works very well with Google Chrome's dev tools: can run our html on all mobile devices on Google Chrome without problem.
We use display: flex; and flex-direction: row-reverse; for the photos container. So that new Image will be uploaded and displayed on the left side of each row. Each image's size is set to the following attributes: Image width = 500 px; Image height = auto;