fortune / backend
Kickstart a RESTful backend for your Javascript application
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
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: 2025-02-25 03:39:47 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