9424276474
fixed typo in dockerfile
Build and Push Docker Image / build-and-push (release) Successful in 1m57s
1.1.1
2025-09-17 15:56:17 +03:00
7949312f9a
Added username parameter to json load for /rate and /remove_rate
Build and Push Docker Image / build-and-push (release) Failing after 42s
1.1.0
2025-09-17 15:47:22 +03:00
f814a1ba00
Update dockerfile
2025-09-15 15:22:41 +03:00
a910bffcc9
Update compose.yml
Build and Push Docker Image / build-and-push (release) Successful in 2m7s
1.0.0
2025-09-15 15:05:35 +03:00
06e24e35e1
Changed 127.0.0.1 to 0.0.0.0
Build and Push Docker Image / build-and-push (release) Successful in 1m59s
0.0.1
2025-09-15 14:36:54 +03:00
523ac2228d
Implemented force exit on connection failure
2025-09-09 17:37:36 +03:00
95a232fb78
Merge branch 'main' of https://git.frik.su/n0one/habr-article-API
2025-09-09 15:24:21 +03:00
355aff8cf3
Table and schema names are now no longer pulled from .env
2025-09-09 15:22:20 +03:00
2ecf7ae56d
Update README.MD
2025-09-06 03:37:55 +03:00
a2ab535256
Add README.MD
2025-09-06 03:37:07 +03:00
c3788356c7
Something i'm too ashamed to even write
2025-09-06 03:24:44 +03:00
fa012c3161
Merge branch 'main' of https://git.frik.su/n0one/habr-article-API
2025-09-06 02:47:25 +03:00
1c7e95b119
Fixes
...
- /api/rates endpoint now returns a list of entries in a json form
2025-09-06 02:45:47 +03:00
ba1f7eb450
Update compose.yml
2025-09-06 01:45:55 +03:00
873c061152
Set up a docker image
...
- Added .dockerignore, dockerfile and compose.yml + .gitea directory
2025-09-06 01:18:56 +03:00
16eccddb59
Hotfix + config optimization
...
- Fixed a bug that didn't let any function receive connection objects
- Added uvicorn logging level to config
2025-09-06 01:09:30 +03:00
c2dd26c5d3
Changed config.py
...
Table and schema names can now be configured in .env file
2025-09-05 19:35:03 +03:00
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