Awesome
<img align="right" src="https://github.com/doubleleft/hook/blob/master/logo.png?raw=true" alt="hook" />Welcome to hook
<a href="https://heroku.com/deploy?template=https%3A%2F%2Fgithub.com%2Fdoubleleft%2Fhook%2Ftree%2Fmaster"><img src="https://www.herokucdn.com/deploy/button.png" height="20" ></a> ![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:
- JavaScript (docs)
- C# / Unity3D
- Corona SDK
- iOS / OSX
- Java / Android
- C++
- PHP (docs)
- Ruby (docs)
- Flash / ActionScript 3.0
License
MIT.