Closed sjdonado closed 1 year ago
Pulling service is renamed to scraper.
scraper
package.json
dev
test
tsconfig
docker-compose
mongo
rabbitMQ
redis
dotenv
Expanding (5) connectDatabase, connectMessageQueue are pure functions with the following contracts:
connectDatabase
connectMessageQueue
[collections: Object, disconnect: Promise<void>]
[startConsumer: Promise<void>, publishMessage: Promise<boolean>, disconnect: Promise<void>]
Pulling service is renamed to
scraper
.Summary
package.json
withdev
andtest
scriptstsconfig
+ eslint + prettier + jest configureddocker-compose
withmongo
,rabbitMQ
andredis
dotenv
mongo
andrabbitMQ
connectionsExpanding (5)
connectDatabase
,connectMessageQueue
are pure functions with the following contracts:connectDatabase
returns[collections: Object, disconnect: Promise<void>]
connectMessageQueue
returns[startConsumer: Promise<void>, publishMessage: Promise<boolean>, disconnect: Promise<void>]