Skip to content

ContaBoa/sales_buzzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API to play alert sounds for sale events

Setup

yarn install

Run

npm start

Endpoints

  • /sounds

Example

Upload sound:

curl -X POST http://localhost:8080/sounds \
  -H "Content-Type: application/json" \
  -d '{"sound": "lead", "url": "http://themushroomkingdom.net/sounds/wav/smb/smb_coin.wav"}'

Play sound:

curl http://localhost:8080/sounds/lead

List sounds:

curl http://localhost:8080/sounds

About

API to play alert sounds for sale events

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors