Skip to content

Tiny Flask App running in a Docker container that saves uploaded files in MongoDB GridFS.

License

Notifications You must be signed in to change notification settings

brett-jpy/flask-gridfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-gridfs

Tiny Flask App running in a Docker container that saves uploaded files in MongoDB GridFS.

Authentication

The "password" set in the .env file must be passed in the headers using the "auth" key.

Example:

headers = {"auth": "my_very_secret_string"}

More Header Values

Any metadata associated with the file can be passed in the headers as well. Flask ignores a listing and then creates a dictionary out of the remain values.

About

Tiny Flask App running in a Docker container that saves uploaded files in MongoDB GridFS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published