rest-scheduler
v0.1.11
Published
Handles job scheduling and execute in the future
Downloads
2
Readme
Rest Scheduler
- Handles job scheduling by storing and managing events that correspond to actions to execute in the future.
Installation
npm install -g rest-scheduler
Running tests
To run a suite tests execute:
npm test
Built with
- nodejs Backend is a nodejs latest.
- hapijs API is a Hapi server. It respond to requests RESTfully in JSON.
- Mongodb Mongodb as a data store.
Docker
This repository has automated image builds on hub.docker.com.
Use docker-mongodb and run command described there
Finally run:
$ docker-machine start default
$ eval $(docker-machine env default)
$ docker run -it -e "NODE_ENV=development" -v "$(pwd)":/data --link mongo:mongo -w /data -p 3000:3000 rafaeljesus/rest-scheduler
$ curl `docker-machine ip default`:3000
API
You can find how to send requests at test/ directory
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request