fysikteknologsektionen/foton-gallery

Backend for file uploads

Closed this issue · 1 comments

Implement a backend to handle file uploads (images) that can handle uploading, renaming and storing these. Also implement hooks for mongoose that deletes image files when the corresponding entries from the db is removed.

Fully implemented in dbdb66b, delete function is called from controller avoid an inevitably hacky implementation with mongoose hooks.