fortune/backend

Kickstart a RESTful backend for your Javascript application

0.1.0 2014-09-24 18:09 UTC

This package is not auto-updated.

Last update: 2024-04-22 23:46:29 UTC


README

Kickstart a RESTful API for your JavaScript application.

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.

cd public/
php -S localhost:8000

Now just navigate to http://localhost:8000 using your web browser to view the main page.

You can also use a full-fledged server such as Apache or Nginx