fortune / backend
Kickstart a RESTful backend for your Javascript application
0.1.0
2014-09-24 18:09 UTC
Requires
- php: >=5.3.0
- fortune/fortune: dev-develop
- slim/slim: ~2.0
- symfony/yaml: ~2.0
This package is not auto-updated.
Last update: 2026-04-07 09:00:30 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