Commit Graph

10 Commits

Author SHA1 Message Date
3cf6afb39c updated make to allow me to convert swagger into a api client with some tools 2024-07-17 22:02:38 -07:00
238f617452 jwt was added and started to tie it into handlers 2024-05-04 11:47:30 -07:00
20ec963e78 minor updates 2024-05-02 17:38:30 -07:00
62fa7224c8 minor changes to make and gitignore 2024-05-01 18:27:19 -07:00
2b6ab134d9 make swag now works with the new cmd pathing 2024-04-28 11:42:30 -07:00
7227744621 got the sources repo working 2024-04-28 10:02:57 -07:00
543e8d8eab moving code into the internal package 2024-04-23 07:15:38 -07:00
713205bb03
Basic routes have been added (#10)
* basic routes are working with db context

* swagger is working along with swag gen

* cron was updated with a class and better db context, untested though

* sourcelist command added

* lost the pg package but added it back

* Updated the api startup for cron and api

* updated source routes and started to add article routes

* Updated cron add func calls

* updated swagger

* keeping articles basic for now as I dont need to pull them in yet

* swagger update

* added getarticlesbysourceid call

* adding the subscriptions table to track who to send notifications and where

* removed legacy columns from discordwebhooks that are no longer needed.

* added discord webhook routes

* updated routes

* Minor change to schema

* Updated routes to support subscriptions

* ignore .vscode
2022-06-19 22:02:44 -07:00
75b66dd625
Feature/sql (#8)
* Using sqlc to generate queries and goose for migrations. The intial tests look good.

* moving the old calls away for now.  Might use this in a package later on.

* Added postgres driver

* Updated the dockerfile to support sql migrations

* added sqlc config file

* updated schema and starting a seed script

* updated models to use the database ones

* updated reddit cron to talk to the db

* added env for sql connection string

* got the reddit source working with the db and posting articles

* added sql packages

* added rule to ignore dev sql file

* added migration down statement for rolling back

* updated cron for reddit and youtube

* Updated reddit to follow a new standard pattern

* updated youtube to follow new patterns

* updated tests and brought them to the standard

* updated the seed migration

* all cron tasks should feed the db now

* updated app init

* bumped docker to 1.18.3

* disabled remote tests given secrets and lack of interfaces currently to run tests
2022-06-08 21:17:08 -07:00
281fcb2d8a
got docker building with the correct binary (#1) 2022-04-02 12:09:43 -07:00