the first devlog
So I’m making a personal storage website where the owner will be able to store files and manage access to them. The project is written in Java and uses the Spring framework and JWT tokens. The pages are built as Thymeleaf templates, which makes it easier to pass data from the backend to the frontend.
Database
Currently I made it to be compatible with MySQL and PostgreSQL. writing the queries was soo boring 😭😭
It’s easy to add more DBMSs as it only requires to add a case to switch in DatabaseConfig class, create an implementation of AbstractDatabase and implementations of Repository for each table.
Github Actions CI/CD workflow
Created a CI/CD workflow to automatically build and push the image of LunarStorage to ghcr.io. It also builds and adds Tailwind CSS to the project resources.
Proof-of-Work captcha
Made the captcha to prevent bots from scraping the contents of the storage. The progress bar is only an estimate of progress so it may take less or longer than shown. Currently it only supports JavaScript for hashing.
well so um for now that’s it i guess, bye :3