Commit Graph

4 Commits

Author SHA1 Message Date
6da6ace82f Readability and functionality improvements
- Refactored all DBwork functions to not set and close connection inside
their body, they use connection as a parameter instead
- Added single file to configure a FastAPI app
- Implemented FastAPI's lifespan function that calls certain functions
on app startup and shutdown
- Added error logging for scraping functions
- Fixed /articles/get/html and /articles/get/md endpoints
- All POST methods now return base64 encoded html/md strings to avoid
weird json formatting
2025-09-04 23:05:12 +03:00
2b191dddd2 Implemented all endpoints 2025-09-03 20:49:19 +03:00
8a6490a481 Git tracking fixes
- Untracked sys.stdout and added to .gitignore
2025-08-30 02:44:00 +03:00
1df815f8c9 First Commit
- Added a script with all FastAPI methods
- Added a main.py file to start everything
- Generated a config that grabs data from .env
2025-08-30 02:39:49 +03:00