Skip to content

reimertz/isomorphic-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isomorphic-hook

an isomorphic hook boilerplate based on hook.io

motivation

I love hook.io but I found it to be kind of hard to work with complex hooks. Wouldnät it be awesome if there was an easy way to create a hook, mess around with it locally, and then deploy it all from the CLI? Now you can.

beware: there is a risk there is a better way of doing this, if so, please point it out so I can either improve this project, or just depricate it.

prerequisites

  • create an account at hook.io
  • generate an access key with full access hook.io/keys
  • add `EXPORT HOOK_ADMIN_ACCESS_KEY='' to your .bash_profile
  • don't forget to source .bash_profile

install

git clone https://github.com/reimertz/isomorphic-hook.git isomorphic-hook
cd isomorphic-hook
subl hook.config.json  # change the name and owner
npm install

run


npm start              # boots up an live server mimicking the live hook.io enviroment
npm deploy             # deploys you hook to hook.io/username/hook-name
npm delete             # duh

examples

random-full-screen-cats (source)

About

an isomorphic hook boilerplate based on hook.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published