[][src]Module rubric::dropbox

A dropbox to collect submissions.

This is a webserver that accepts Submissions in JSON format and writes them to a CSV file.

Note that this has no relation to Dropbox, and doesn't function the same at all.

You should run this on a publicly available server and be sure the correct ports are open. You can run this on whatever port you'd like, as long as you have permission. The /submit route is meant to accept a Submission. See the helpers::web::post_json function for more info on how to send a submission to the dropbox.

Re-exports

pub use results_file::AsCsv;
pub use results_file::ResultsFile;
pub use submission::Submission;
pub use submission::TestData;

Modules

fingerprint

A set of data to verify a Submission's validity

results_file
submission

A bundle of data that rubrics are graded against, and is submitted for review

Functions

open

Opens the dropbox for submissions on the given port.

open_with_arg

This is the same as open(), but it will only open the dropbox if you run the executable with the arg you provide.