Commit Graph

8 Commits

Author SHA1 Message Date
Felipe Martin Garcia 5543a19df1
feat: added server configuration using env vars (#7)
* feat: added server configuration using env vars

* updated readme

* refactor: removed error returns where unneeded
2022-08-09 18:27:37 +02:00
Felipe Martin Garcia e69ecef6c8
ci: general improvements (#6)
* Renamed binary from server to bazaar

* Updated to go1.19

* Added several ignores

* Added makefile and helper scripts

* Added github workflows

* typo: filename

* using workflow inputs/outputs

* added containerfile

* cleanup containerfile

* enable cgo in tests only
2022-08-09 17:05:06 +02:00
Felipe Martin Garcia 4fd67d8743
refactor: servers
* moved server logic to internal packages
* split the main server and the http server
* handling signals for shutting down
2022-08-06 10:37:22 +02:00
Felipe Martin Garcia d6d7bebc6f
feat: add casadellibro.com 2022-08-06 09:08:52 +02:00
Felipe Martin Garcia 0e560e07ac
fix: handle shop not found properly, log more 2022-08-06 09:07:24 +02:00
Felipe M 9220b50e22
feat: added gtm-store.com support 2022-07-02 16:27:52 +02:00
Felipe M c29b0fbed4
feat: added support for more shops
- Added support for akiracomics.com, heroesdepapel.es, amazon.es,
  amazon.com, store.steampowered.com
- Added a utils package with helpers to parse prices and times
- Added a shortcut `manager.Retrieve` method to use directly with a
  configured manager (allowing the user to directly call for data
  extraction on an URL without having to parse/retireve the sop
  manually).
2022-01-16 19:39:54 +01:00
Felipe M fe33dd5360
feat: proof of concept 2022-01-02 23:11:00 +01:00