Commit Graph

13 Commits

Author SHA1 Message Date
Lynixenn
895a40fe67 Added database creation upon start of API, only does this when the Database doesn't exist. 2025-03-28 23:51:03 +01:00
Lynixenn
9e7039c72c Now returns userId upon Register 2025-03-24 21:21:45 +01:00
Esad Mustafoski
497d5aa28f Generated API Docs using AI, Might edit later if there is an issue or it's hard to read. Finished API Functions 2025-03-17 21:39:26 +01:00
Esad Mustafoski
aeaae9fc58 Huge changes! Added some API features, but not fully. 2025-03-14 06:33:12 +01:00
Esad Mustafoski
4c80caa52a Attempted adding of 'Salting' for the password, a method which adds random numbers or letters to make rainbowtable password cracking impossible, not tested yet 2025-02-02 12:33:47 +01:00
Lynixenn
010e518828 Login and Register API added, further info shared between Owners 2024-12-17 19:01:14 +01:00
Esad Mustafoski
b0f8a51cc8 Shortened database/utils.ts by adding a 'Query Database' helper function to reduce boilerplate/copied code, also added functions form apping the Post, Account and Comment row. api/main.ts now has more unfinished endpoints and will now work using functions instead of doing everything inside of the routes, created a helpers.ts file to make it a bit more modular and easier to look over. 2024-11-13 23:29:59 +01:00
Esad Mustafoski
7a6152be51 Combined functions, Changed some items 2024-11-07 19:29:35 +01:00
Lynixen
f45945474d Changed functions in database/utils.ts 2024-11-06 21:35:41 +01:00
Esad Mustafoski
c786ddd895 Merged some functions in database/utils.ts to attempt to shorten code length, Also changed tests to work with the new datatypes 2024-11-06 04:49:18 +01:00
Esad Mustafoski
abe39c0797 Documentation Update 2024-11-05 02:22:11 +01:00
Esad Mustafoski
3d31061087 Added API and Tests, Tests generated using AI and will be replaced sometime 2024-11-05 02:05:39 +01:00
Esad Mustafoski
537fca6b2b Added a test API for the Database, Unfinished, Meant for testing API Access on the Frontend 2024-11-03 21:14:04 +01:00