Commit Graph

18 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
cfcfd4ba5e Fixed Login and Register user not returning, Fixed error upon logging/registering 2025-03-25 18:41:39 +01:00
Esad Mustafoski
029fc10de7 Fix Error in create_db 2025-03-21 08:32:28 +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
8b992017ba Modulized the project so it's easier to look over items, Unfinished for now, added extra functions for chat, API is not finished for the chat. and will not work. Files saved as a "Work in progress" type of commit. \n Document folders added, but nothing yet done inside of them. \n Some comments have been removed as they were bloated and made it hard to read the code, the functions themselves are self-explanatory and will be documented in the "docs" folders, containing the documentation in a markdown format 2025-03-14 06:37:08 +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
3c6fdd0b59 Fixed account_created format 2024-12-17 22:21:53 +01:00
Lynixenn
4dfa695458 Added body response for Successful login 2024-12-17 19:04: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
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
Esad Mustafoski
c6dfae527b commented some files 2024-11-01 20:42:13 +01:00
Esad Mustafoski
cfc7071b7f Added routing, Tidied up components directory and added part of an unfinished API 2024-10-31 23:57:06 +01:00