https://github.com/sensorario/bricks-api
https://github.com/sensorario/bricks-api
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sensorario/bricks-api
- Owner: sensorario
- Created: 2016-03-18T06:59:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-24T08:40:13.000Z (about 10 years ago)
- Last Synced: 2025-01-19T19:47:36.538Z (over 1 year ago)
- Language: PHP
- Size: 496 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bricks-api
- clone project
- install vendors
```bash
git clone git@github.com:sensorario/bricks-api
cd bricks-api
php composer.phar install
```
- run server
```bash
./bin/runserver
```
- load fixtures
```bash
./bin/loadfixtures
```
- [open api from your browser](http://localhost:8080/api/v1/homepage/)
## php.ini configuration
Due to a [php 5.6 bug](http://stackoverflow.com/questions/26261001/warning-about-http-raw-post-data-being-deprecated), some warning could appear in log. To solve this little issue uncomment this line in php.ini
```bash
;always_populate_raw_post_data = -1
```