Fortune Backend
Kickstart a RESTful API for your JavaScript application., (*1)
Installation
composer (recommended)
composer create-project fortune/backend your-project
direct
git clone https://github.com/jfortunato/fortune-backend
cd fortune-backend
php composer.phar install
Getting Started
A server is required to run your application. Fortunately PHP 5.4+ comes with a
development server that is very easy to get started with. Just navigate into the
public
directory using your terminal and start the server from there., (*2)
cd public/
php -S localhost:8000
Now just navigate to http://localhost:8000 using your web browser to view the main page., (*3)
You can also use a full-fledged server such as Apache or Nginx, (*4)