Showing a grid of photos with an authentication to select different albums with an ALBUMCODE and a PASSCODE acting as secret. This application uses Server-Side Rendering manipulating the DOM.
Define an admin password in the config (only required for first start).
Manage albums via these endpoints:
POST /album
to create a new album - returns201 - location /album/ABCD1234
DELETE /album/ABCD1234
- to delete an album - returns204 No Content
POST /album/ABCD1234
- to add new items to an albumDELETE /album/ABCD1234/f80d31b6-8193-40a4-92ff-fcc6b1f6f284
- to delete an item from the album
All these endpoints need an Authentication = Basic base64(admin_password)
header.
cargo leptos watch
Copyright 2024 by Stürmer, Benjamin [email protected] is licensed under CC BY 4.0
Creative Commons Attribution 4.0 International (CC BY 4.0) which basically means:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
for *any* purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.