Skip to content

A serverless function which handles artifact submissions

License

Notifications You must be signed in to change notification settings

acearchive/submission-worker

Repository files navigation

submission-worker

This repo is a Cloudflare Worker for adding artifact metadata to the database.

This worker accepts POST requests containing the artifact metadata JSON to this endpoint:

https://submit.acearchive.lgbt/submit

This worker is called by acearchive/artifact-submit-action to upload new artifact metadata and stores the metadata in a Cloudflare D1 SQLite database.

Database

This repo is where the database migrations live, in the migrations/ directory. You can apply migrations with Wrangler.

You can find documentation for the database schema in the docs/ directory. The schema is documented via dbdiagram.io.

About

A serverless function which handles artifact submissions

Topics

Resources

License

Stars

Watchers

Forks