Skip to content
A simple tool to let people upload and share images and files
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
models
modules
public/images
types
views
.gitignore
LICENSE
README.md
config.default.hjson
index.js
package-lock.json
package.json

README.md

File Uploader

A service that lets you host a public / private file uploading service.

Design & Architecture

MongoDB Store

Item {
    _id: ObjectId,
    name: {
        original: String,
        extension: String
    },
    storage: {
        store: String,
        filepath: String
    },
    metadata: {
        views: Integer,
        createdAt: Date,
        updatedAt: Date
    },
    user: {
        _id: ObjectId
    }
}

Architecture

  1. User Upload

  2. Decide File Type

  3. Enrich File

  4. Store File

  5. User Download

  6. Get item from database

  7. Upload based on type

You can’t perform that action at this time.