Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/virginiegodfrin/01-restfull-api
tuto : https://symfonycasts.com/screencast/symfony-rest/post
https://github.com/virginiegodfrin/01-restfull-api
symfony symfony2
Last synced: about 1 month ago
JSON representation
tuto : https://symfonycasts.com/screencast/symfony-rest/post
- Host: GitHub
- URL: https://github.com/virginiegodfrin/01-restfull-api
- Owner: VirginieGodfrin
- Created: 2018-09-25T14:04:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-05T14:27:00.000Z (about 6 years ago)
- Last Synced: 2024-10-13T06:03:49.376Z (about 1 month ago)
- Topics: symfony, symfony2
- Language: CSS
- Homepage:
- Size: 377 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RESTing with Symfony
Well hi there! This repository holds the code for the *whole* Symfony
REST tutorial series on KnpUniversity:* [Episode 1](http://knpuniversity.com/screencast/symfony-rest)
* [Episode 2](http://knpuniversity.com/screencast/symfony-rest2)
* [Episode 3](http://knpuniversity.com/screencast/symfony-rest3)
* [Episode 4](http://knpuniversity.com/screencast/symfony-rest4)
* [Episode 5](http://knpuniversity.com/screencast/symfony-rest5)## Setup the Project
Ok, cool - this will be easy!
1. Make sure you have [Composer installed](https://getcomposer.org/).
2. Install the composer dependencies:
```bash
composer install
```Or you may need to run `php composer.phar install` - depending on *how*
you installed Composer. This will probably ask you some questions
about your database (answer for your system) and other settings
(just hit enter for these).3. Load up your database
Make sure `app/config/parameters.yml` is correct for your database
credentials. Then:```bash
php app/console doctrine:database:create
php app/console doctrine:schema:update --force
php app/console doctrine:fixtures:load
```4. Start up the built-in PHP web server:
```bash
php app/console server:run
```Then find the site at http://localhost:8000.
You can login with:
user: weaverryan
pass: fooHave fun!