News for hackers. Stuff that matters.
Re:Show HN: I created a URL shortener that can be entirely h... by tutfbhuf on Monday November 16, 2020 @12:04PM (#25114053)
I would find it better if he'd add something like an auto accept pull request bot, that allows you to append a single url (with validation check + rate limiting) to a file, that will be read by the url shortener + auto deploy on new master commit. That would be truly databaseless.
Re:Show HN: I created a URL shortener that can be entirely h... by nelsontky on Monday November 16, 2020 @12:07PM (#25114090)
Well I would believe that even a `json` file or any other form of storage written to disk is considered a database, But your suggestion definitely brings it further away from an actual database!
Re:Show HN: I created a URL shortener that can be entirely h... by tutfbhuf on Monday November 16, 2020 @12:10PM (#25114139)
Well, if by your definition a flat .txt file is considered to be a database then yes.