This provided Symfony edition is based on the Symfony minimal edition.
Get the code by cloning this repository:
$ git clone git@github.com:willdurand/workshop-rest-from-zero-to-hero.git
Install the project's dependencies:
$ composer install
Configure the project by renaming the .env.dist file to .env:
$ cp .env.dist .env
Run the application:
$ bin/console server:start --router=`pwd`/router.php
Note 1: defining the --router option is required here because default
Symfony routers hardcode the front controller name (in this project it is
index.php, while Symfony uses app[_dev].php).
Note 2: as you might notice, the console script is located into the bin/
folder, not in app/.
Browse http://localhost:8000/.
2. The ApiBundle (a.k.a. the Read part)
This workshop (code + text) is released under the MIT License. See the bundled LICENSE file for details.
