asqs-mdb

asqs-mdb is an application for handling Amazon Simple Queue Service (SQS) messages and saving into a MongoDB database.

npm install asqs-mdb
6 downloads in the last week
18 downloads in the last month

Amazon SQS to MongoDB

asqs-mdb is an application for handling Amazon Simple Queue Service (SQS) messages and saving into a MongoDB database.

asqs-mdb on npm registry

Installation

For latest release

npm install asqs-mdb

For HEAD

git clone https://github.com/cmfatih/asqs-mdb.git

Create a copy of default config file and make necessary changes. (the new config file will be ignored by git)

cp config/app.json config/test.json

Permissions

find ../asqs-mdb/ -type d -exec chmod 755 {} +
chmod 775 ../asqs-mdb/logs/
chmod 664 ../asqs-mdb/logs/app.log

Install packages

npm install

Usage

Test

npm test

Examples

Manual execution

node app/index.js -c config/test.json &>> logs/app.log

-

Cron job

*/5 * * * * cd asqs-mdb/; node app/index.js -c config/test.json &>> logs/app.log

Changelog

For all notable changes see CHANGELOG.md

License

Copyright (c) 2014 Fatih Cetinkaya (http://github.com/cmfatih/asqs-mdb)
Licensed under The MIT License (MIT)
For the full copyright and license information, please view the LICENSE.txt file.

npm loves you