Commit graph

103 commits

Author SHA1 Message Date
13ba132159 feat: inserts last 10 articles into DB on feed add 2025-08-24 22:28:17 +02:00
0fc94606d6 fix: error handling within the add command 2025-08-19 21:18:03 +02:00
ee313ed28c chore: adapts comments 2025-08-19 21:17:54 +02:00
1c4a83981e fix: adapts db initialization in root command 2025-08-19 21:01:57 +02:00
9ee6876e95 chore: removes sample code from today cmd 2025-08-19 21:01:37 +02:00
5ab62c85f1 chore: updates dependencies 2025-08-19 20:32:16 +02:00
84a16d5478 updates README 2025-08-19 20:23:13 +02:00
0d920e315e
Merge pull request #7 from dennisschoepf/feat/add
Feat/add
2024-09-03 20:51:07 +02:00
9861d95009 Adds sample test to check if URLs are validated 2024-09-03 20:50:08 +02:00
a2c5560554 Adds TODO comment for further tasks 2024-09-03 20:40:57 +02:00
45e69365c0 Merge branch 'main' into feat/add 2024-09-03 20:29:39 +02:00
d83895c941 Implements basic retrieval and storage of RSS feeds 2024-09-03 20:29:28 +02:00
30b12d2670 Installs gofeed package 2024-09-03 20:29:11 +02:00
6151e9ed80 Adapts feed model for database to new table schema 2024-09-03 20:29:03 +02:00
a9618f950e Removes feed type from database and adds addedAt timestamp 2024-09-03 20:28:46 +02:00
9bc607472f
Merge pull request #6 from dennisschoepf/refactor/database
Moves database initialization to OnInitialize
2024-09-03 19:56:25 +02:00
1a026913ac Merge branch 'refactor/database' into feat/add 2024-09-03 19:55:59 +02:00
9fdc8cad49 Fixes db init call in root cmd 2024-09-03 19:52:58 +02:00
7d349999bf Uses actual cli arg to add feed 2024-09-03 19:51:03 +02:00
55e9424d7a Adds internal feed package for adding feed 2024-09-03 19:50:52 +02:00
4436b83a15 Adapts database initialization 2024-09-03 19:49:38 +02:00
ccc85259cb Changes database initialization 2024-09-03 19:49:03 +02:00
c0b6ecbf1c Moves database initialization to OnInitialize 2024-09-03 18:21:18 +02:00
f7e246b7c5 Adapts README.md 2024-08-31 01:48:27 +02:00
fa902d93d4
Merge pull request #2 from dennisschoepf/feat/cli-refactor
Feat/cli refactor
2024-08-31 01:45:31 +02:00
ad4bb08eb2 Implements database connection with config data 2024-08-31 01:42:31 +02:00
0f54c090bb Removes temp database handler 2024-08-31 01:42:15 +02:00
fc59ecbee5 Temporarily removes ping for DB 2024-08-31 01:42:00 +02:00
051e84de86 Removes unused migrations 2024-08-31 01:41:44 +02:00
e6fae146a5 Adapts license headers 2024-08-30 19:21:13 +02:00
fcdc3228a0 Implements reading config file in root command 2024-08-30 17:59:57 +02:00
46fb435694 Fixes license 2024-08-30 17:59:20 +02:00
fcac7b16a7 Removes unused packages and adds cli packages 2024-08-30 17:58:17 +02:00
dd075aaf63 Reverts back to old Connect style database access 2024-08-30 17:57:46 +02:00
727a788d44 Cobra initialization in main.go 2024-08-30 17:07:38 +02:00
b70a232343 Restructures database access
Makes it simpler as long as the application is just the CLI
2024-08-30 17:07:14 +02:00
db7ed2fa3b Adds subcommands 2024-08-30 17:06:43 +02:00
f2187d8559 Ignores sqlite3 files 2024-08-30 15:06:00 +02:00
0b5fc09077 Removes fiber 2024-08-30 15:05:54 +02:00
489d3b8846 Removes json annotated model structs 2024-08-30 14:59:54 +02:00
e903e9e3a4 Removes api handlers 2024-08-30 14:59:36 +02:00
dc1cd46815 Updates documentation 2024-08-30 14:46:15 +02:00
09b82df959 Removes bruno files
as the endpoints will be deleted as long as the CLI is not finished
2024-08-30 14:46:09 +02:00
75d1324952 Implements create feed handler
And necessary user helper functions
2024-05-31 21:17:34 +02:00
a2e5462553 Adds feed model to possible validation constraints 2024-05-31 21:17:16 +02:00
7394270227 Removes validation for feed model 2024-05-31 21:16:57 +02:00
5cdeea5534 Adds create feed request for bruno 2024-05-31 21:16:38 +02:00
373d0ba658 Adds other db files to gitignore as well 2024-05-31 19:59:03 +02:00
4f86ab9cb0 Adds feed type to Feed struct and table schema 2024-05-31 19:55:44 +02:00
efff6edf0e Adds dbconfig.yml
to run migrations from outside of application
2024-05-31 19:55:22 +02:00