Giter Club home page Giter Club logo

Comments (4)

Rushmore75 avatar Rushmore75 commented on August 11, 2024

Could you add some more information to this, so I could potentially work on it?

from autumn.

insertish avatar insertish commented on August 11, 2024

When a file is uploaded, the server should generate a sha256 hash of it and store it in the database.
If the file is further processed, the server should also generate a sha256 hash for the output (e.g. after stripping EXIF data from a file / reprocessing a video / etc -- can interject right before it's uploaded to s3).

To store the hashes, I would just use a string array on the File database model, e.g. hash?: string[].

from autumn.

Rushmore75 avatar Rushmore75 commented on August 11, 2024

Trying to read the codebase that's already here - Whats the tag part of the routes for? / what does it do?

from autumn.

amycatgirl avatar amycatgirl commented on August 11, 2024

tag corresponds to where the file will/is being used, for example

http://localhost:3000/attachments/1CXaLI6UcCYCRD2A5qI94RQL1lPf_egejPwAce5Xj5

attachments would be the tag of the file.

from autumn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.