Skip to content

Flask API Layer #135

@kellenGary

Description

@kellenGary

We need an api layer using Flask.

  1. We need a POST endpoint for the file upload at the endpoint /api/fileUpload.
  2. We need a GET that retrieves all the files from the firebase database from the endpoint /api/getFiles or something like that. This code is already written in the fileSearchPage component. You can follow that to figure out how to write the Flask code.
  3. We will need a DELETE method endpoint that will eventually be implemented to allow the user to delete a file that they uploaded.

This should complete a temporary API layer that we can expand upon later. Hardest part of this all might be the DELETE method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BackendA Back-End issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions