Skip to content

@LuisToro-v and I build a backend api for our shared photo viewing app Mosaic.

Notifications You must be signed in to change notification settings

pitoms/MosaicBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MosaicBackend

@LuisToro-v and I build an instagram backend api for shared photo viewing.

Vision

  • Mosaic is a photo sharing application, that removes the visual clutter of comments and likes. The homepage (accesible by any user non-authenticated & authenticated) displays a mosaic of most recent images on the platform. On hover over an image, it's poster's username is diplayed on the bottom right corner of the photo. Clicking on the username will bring you to mosaic.com/:username. This user's mosaic of photos resembles the home page.

img

  • This vision was influenced by a short time constraint, and our inexperience with routing, and node's pg-promise. We learned tons about these exciting technologies, version control and kanban project management.

Challenges we faced.

  • KnexJS does not support integer arrays within its DDL.

  • Limited information returned from the database when deleting. It would be nice to give some verbose information to the front end.

  • Adding robustness to endpoints in several identified edge cases.

API

PUT photo to user's mosaic http://localhost:3000/addPhoto

DELETE photo from user's mosaic http://localhost:3000/deletePhoto/

GET universal mosaic photos in chronological order http://localhost:3000/

PUT (Create) new user http://localhost:3000/createUser

About

@LuisToro-v and I build a backend api for our shared photo viewing app Mosaic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •