-
Notifications
You must be signed in to change notification settings - Fork 78
Attempting to revive site with low cost s3 AWS #12
Description
Made a low cost version of site, yet to add upload function.
As of rn, has 5000 bricks or something.
link to site.
Made a print a brick API today (mainly to teach myself aws)
It currently only has download, no upload as of yet.
Get File API:
https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/**model_no**
Get a list of all files: (json)
https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/list
Example:
NXT MOTOR: model id 53787
https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/53787
Door thingo: model id: 2400
https://0sb44une91.execute-api.ap-southeast-2.amazonaws.com/testing/download/2400
by the way, if its slow its its because I throttled the rate to 1/second as i don't wan't to get billed if someone decides to screw with me.
Whats the point of this?
Mainly to teach myself, but was thinking of making a simple java-script front end.
This API is AWS server less, so basically no maintenance, and low cost.
$3.50 for 1,000,000 API requests
S3 storage is like 0.025/gb