Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nchan-heroku

One-button deploy NCHAN to Heroku. Clicking the deploy button will create a Heroku app with the nchan-buildpack preconfigured for you!

Deploy

This will run NCHAN with a publisher route at /pub and a subscriber route at /sub. See example pub/sub usage:

# start a subscriber connection
curl <your-url>/sub?id=foobar   # id query parameter is the channel

# somewhere else:
curl <your-url>/pub?id=foobar -X POST --data 'hello'
# then, see the message delivered to your open connection!

About

One-button deploy NCHAN to Heroku

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages