Skip to content

depstein/sticker-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sticker-Server

Server-side sticker recorder.

Set-Up

Install Project Dependencies

Install forever

  • Install forever if you want to keep running the server after exiting the instance
    • sudo npm install forever -g

Usage

Run Temporarily

  • Please navigate to root folder of the server, /sticker-server, then run the command.
    • npm start

Run Forever

  • Run the Server Forever, Please Run the Command.
    • forever start --minUptime 1000 --spinSleepTime 1000 ./bin/www

Stop Forever

  • Stop the Server from Running Forever, Please Run the Command.
    • forever stop ./bin/www

Stickers Wiki

API Endpoint: http://sheltered-waters-08469.herokuapp.com/{sticker}/?value={number}&type={str}&option={str}&goal={number}

Heartbeat

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]

Steps

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]

Food

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]

About

Server-side sticker recorder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published