A RESTful and extendable Backend as a Service that provides instant backend to develop sites and apps faster, with dead-simple integration for JavaScript, iOS, Android and more.
PHP SaltStack Perl Shell Makefile Nginx Other
Permalink
Failed to load latest commit information.
.openshift/action_hooks use no-dev / prefer-dist when deploying on openshift Nov 15, 2014
.travis remove debugging Nov 5, 2014
config Use heroku's database or sqlite by default. Feb 23, 2016
migrations cache Auth role on AuthToken. Jan 22, 2015
public add app.json for heroku deploy button. Feb 8, 2015
salt added fastcgi_read_timeout, for performing xls uploads Jan 13, 2016
scripts clone with depth=1 on installation script Jan 4, 2015
shared fix block helpers for email templates Mar 27, 2015
socket refactoring websocket message broadcast Oct 28, 2014
src Merge branch 'illuminate-5' Jul 19, 2015
tests fix bulk create test Jul 19, 2015
.editorconfig move commandline to it's own repo. improve all namespaces. WIP #74 Jun 30, 2014
.gitattributes move commandline to it's own repo. improve all namespaces. WIP #74 Jun 30, 2014
.gitignore ignoring local files Apr 29, 2015
.travis.yml add php7 to test targets Jul 24, 2015
CONTRIBUTING.md update CONTRIBUTING and README. Jan 19, 2015
LICENSE renaming to Hook. update namespaces and README. Jul 8, 2014
Makefile update README Jul 19, 2015
Procfile add app.json for heroku deploy button. Feb 8, 2015
README.md Merge branch 'illuminate-5' Jul 19, 2015
TODO.diff fix relationship table references. closes #103 Feb 11, 2015
Vagrantfile refactoring AppConfig and AppContext. store configs in the filesystem Oct 19, 2014
app.json add app.json for heroku deploy button. Feb 8, 2015
composer.json Merge branch 'illuminate-5' Jul 19, 2015
composer.lock Merge branch 'illuminate-5' Jul 19, 2015
logo.png add logo to README.md Jan 9, 2015

README.md

hook

Welcome to hook

Build status Gitter

hook is a RESTful, extendable Backend as a Service that provides instant backend to develop sites and apps faster, with dead-simple integration for iOS, Android, JavaScript and more.

Requirements: PHP 5.5+, or PHP 5.3.

Features

  • Multitenancy (same instance may be used for many apps)
  • User authentication (register, login, reset password)
  • Data persistance through collections
  • Data storage through many providers
  • Real-time communication through WAMP subprotocol (WebSockets).
  • Package management through composer

Installation

Run this command in your terminal to get the lastest version:

curl -sSL https://raw.githubusercontent.com/doubleleft/hook/master/scripts/install.sh | bash

At the end of the process you should have hook and hook-cli installed in your machine.

How to use

Run the server locally:

hook server

Create a new application from the commandine:

hook app:new my-app --endpoint http://0.0.0.0:4665

It will output access keys to use in the front-end. Checkout this example using JavaScript frontend.

Take a look at the documentation for more details.

Front-end Integration

Reduce the gap between backend and frontend development:

License

MIT.