All Projects → bamlab → Versioned Api Tuto

bamlab / Versioned Api Tuto

Licence: mit
Demo of how to do a versionned API with symfony2

Versioned API Tutorial

This repository contains the code of the versioned API tutorial in the BAM's blog.

Installation

The project contains a virtual box. Follow the instruction here to install it.

As soon as your box is ready, you can connect to it with the following command :

vagrant ssh

The virtual box use the default database parameters.

Use composer to install the project. In the virtual box :

cd /var/www
composer install
./app/console d:s:u --force
./app/console d:f:l -n

Usage

The user api routes are available at http://192.168.33.10/api/users/1.

You can run the tests, in the virtual box with the command :

phpunit -c app
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].