Server-side sticker recorder.
- Before git clone this repository, please make sure all dependencies for puppeteer are already installed in your instance.
- For more details please review the list on the top of the page, https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
- After cloning this repository into your instance, please navigate into root folder of the server, /sticker-server, then run the command.
- npm install
- Install forever if you want to keep running the server after exiting the instance
- sudo npm install forever -g
- Please navigate to root folder of the server, /sticker-server, then run the command.
- npm start
- Run the Server Forever, Please Run the Command.
- forever start --minUptime 1000 --spinSleepTime 1000 ./bin/www
- Stop the Server from Running Forever, Please Run the Command.
- forever stop ./bin/www
API Endpoint: http://sheltered-waters-08469.herokuapp.com/{sticker}/?value={number}&type={str}&option={str}&goal={number}
Sample | Sample | |||
type | plain-domain-relevant-1 | type | plain-domain-relevant-2 | |
value | required | value | required | |
option | [count, shake, pulse] | option | [count, shake, pulse] |
Sample | Sample | |||
type | plain-domain-relevant-3 | type | plain-domain-agnostic-1 | |
value | required | value | required | |
option | [count, shake, pulse] | option | [count, shake, pulse] |
Sample | Sample | |||
type | plain-domain-agnostic-2 | type | plain-domain-agnostic-3 | |
value | required | value | required | |
option | [count, shake, pulse] | option | [count, shake, pulse] |
Sample | Sample | |||
type | plain-domain-relevant-1 | type | plain-domain-relevant-2 | |
value | required | value | required | |
option | [count, shake, pulse] | option | [count, shake, pulse] |
Sample | Sample | |||
type | plain-domain-relevant-3 | type | plain-domain-agnostic-1 | |
value | required | value | required | |
option | [count, shake, pulse] | option | [count, shake, pulse] |
Sample | Sample | |||
type | plain-domain-agnostic-2 | type | plain-domain-agnostic-3 | |
value | required | value | required | |
option | [count, shake, pulse] | option | [count, shake, pulse] |
Sample | Sample | |||
type | plain-domain-relevant-1 | type | plain-domain-relevant-2 | |
value | required | value | required | |
option | [count, shake, pulse] | option | [count, shake, pulse] |
Sample | Sample | |||
type | plain-domain-relevant-3 | type | plain-domain-agnostic-1 | |
value | required | value | required | |
option | [count, shake, pulse] | option | [count, shake, pulse] |
Sample | Sample | |||
type | plain-domain-agnostic-2 | type | plain-domain-agnostic-3 | |
value | required | value | required | |
option | [count, shake, pulse] | option | [count, shake, pulse] |