Giter Site home page Giter Site logo

sticker-server's Introduction

Sticker-Server

Server-side sticker recorder.

Set-Up

Install Project Dependencies

  • Before git clone this repository, please make sure all dependencies for puppeteer are already installed in your instance.
  • 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

  • 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]

sticker-server's People

Contributors

depstein avatar uci-mars avatar weiiiiweiiii avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

uci-mars dwnnis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.