0.4.0 2015-07-19 17:27 UTC

README

hook

Welcome to hook

68747470733a2f2f7777772e6865726f6b7563646e2e636f6d2f6465706c6f792f627574746f6e2e706e67 Build status ![Gitter](https://badges.gitter.im/Join Chat.svg)

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.