Symfony2-based REST API setup
Resourceful is a ready-to-use Symfony2-based 'Rapid API Development' (RAPID) setup to create a REST API with as little effort as possible.
Resourceful comes with the following features out-of-the-box:
- User management.
- oAuth2 authorization and Client management.
- i18n and language selection using the
Accept-Languageheader (defaults to english).
- Support for XML and JSON using the
Clone this repository:
git clone firstname.lastname@example.org:Ingewikkeld/Resourceful.git
Initialize and boot the Vagrant virtual machine:
We know that there will be some red "warnings" during the run, but you should be okay.
Go into the vagrant machine and switch to the right directory:
vagrant ssh cd /vagrant
Update database with schema
php app/console doctrine:schema:update --force
Do not forget to add the URL 'local.resourceful.ingewikkeld.net' to your hosts file with IP 192.168.43.43. After the installation has completed you can visit that location to see your REST API.
Please see https://github.com/Ingewikkeld/Resourceful for more information or read the documentation in the docs folder.