Commit graph

14 commits

Author SHA1 Message Date
Gu://em_ 491f16b8f9 feat: Added base for users support 2025-03-31 09:42:30 +02:00
Gu://em_ 480df977fb feat: Delete mod enpoint is functional
feat: Sanitize, md converter and validate utilities
feat: Ability to alidate, convert and sanitize CreateMod requests (still WIP)
2025-03-30 22:53:50 +02:00
Gu://em_ 36eeec2e6c feat: functional POST / endpoint (createMod) 2025-03-30 17:31:21 +02:00
Gu://em_ c0dff6df38 feat: getModByName is functional 2025-03-29 22:07:32 +01:00
Gu://em_ 66d328e442 feat: New database functions prepare() and exists()
feat: Create an example mod by default when initializing database
feat: Added config fields for default admin user
fix: Init database working but yet still not complete
fix: added .vscode to gitignore
2025-03-29 20:01:57 +01:00
Gu://em_ a98b765b4b fix: do not create table if already exists 2025-03-29 12:47:10 +01:00
Gu://em_ 9e713146e1 feat: initDatabase function 2025-03-29 12:45:59 +01:00
Gu://em_ 0590295e6b fix: forgot some changes 2025-03-29 00:53:45 +01:00
Gu://em_ 165bfd0497 feat: made HelloWorld response when try to get root url
refacto: changed routes/root.js to routes/index.js
2025-03-29 00:53:14 +01:00
Gu://em_ 306c87fca2 feat: Error handling middleware
feat: Ability to get the db variable from everywhere with getDatabase function
feat: Hello world when getting root url
fix: Now mods model is able to communicate with db
fix: fixed a syntax error in routes/mods.js file which caused sending two responses to the client
2025-03-29 00:31:25 +01:00
Gu://em_ eb4be67c89 feat: functional /mods endpoint (getAllMods) 2025-03-28 23:06:21 +01:00
Gu://em_ 0ee5eedcfd Restructured and organized the whole project, fixed SQLite database handler (now using better-sqlite3), made first model functions to interact with the database 2025-03-10 22:51:57 +01:00
Gu://em_ 99591a7191 Added README 2025-03-10 10:49:03 +01:00
Gu://em_ 18c4054c7b First commit 2025-03-10 10:18:36 +01:00