Screencast code, script and HTTP Methods for "RESTful APIs in the Real World Episode 1"
CSS PHP HTML Other
Latest commit 3045e08 Nov 2, 2016 @ifdattic ifdattic committed with bocharsky-bw Mix fixes (#42)
Fix a lot of misprints in the 2nd episode
Permalink
Failed to load latest commit information.
_tuts Fixing composer.lock conflict issue Sep 30, 2015
app Hooking up the validation annotation stuff the rest of the way Mar 14, 2014
features Updated the link to the adapted class of Phil Sturgeon Jan 19, 2015
knpu Mix fixes (#42) Nov 2, 2016
logs Initial commit Mar 10, 2014
src/KnpU/CodeBattle Fix type in action name Sep 6, 2016
translations Integrating the translator - needed later for translating exception m… May 14, 2014
views Changing Battle to have real relationships May 15, 2014
web Finishing up the rest of the code for the very basic "tokens" section May 13, 2014
.gitignore A big cluster-cuss that gets bootstrap and everything setup with sass Mar 17, 2014
LICENSE Adding LICENSE Apr 29, 2014
README.md Updating formatting Nov 25, 2014
behat.yml.dist Removing the whole test environment idea Mar 13, 2014
behat_defaults.yml Removing the whole test environment idea Mar 13, 2014
composer.json
composer.lock
config.rb Renaming file so that compass finds it by default Mar 17, 2014
testing.php Moving Guzzle to the right spot in composer and adding a little, ugly… Mar 12, 2014

README.md

REST PHP Tutorial

This repository holds the screencast code, script and HATEOAS for the RESTful APIs in the Real World Episode 1 course from KnpUniversity.

For more details, see the following blog posts:

Installation

1) Download/install Composer into this directory. See http://getcomposer.org

2) Download the vendor files by running:

php composer.phar install

3) Point your web server at this directory, or use the built-in PHP web server, which is nice and friendly (but requires PHP 5.4+)

cd web
php -S localhost:8000

4) Make sure a few directories are writeable:

mkdir logs
mkdir data
chmod 777 logs data

5) Load up the app in your browser!

http://localhost:8000

Collaboration

As we start writing the content for this tutorial, we invite you to read through it, try things out, and offer improvements, either as issues on this repository or as pull requests. REST is hard, so the more smart minds we can have on it, the better it will be for everyone.

Cheers!