https://github.com/brianium/fancy-todos
A simple example used to demo PHPStorm for GrPhpDev
https://github.com/brianium/fancy-todos
Last synced: about 1 year ago
JSON representation
A simple example used to demo PHPStorm for GrPhpDev
- Host: GitHub
- URL: https://github.com/brianium/fancy-todos
- Owner: brianium
- License: bsd-3-clause
- Created: 2013-10-16T01:40:35.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-16T02:20:19.000Z (over 12 years ago)
- Last Synced: 2025-03-18T05:56:26.694Z (about 1 year ago)
- Language: CSS
- Size: 1.95 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Fancy Todos
===========
Built to showcase PHPStorm for [GrPhpDev](http://www.meetup.com/GrPhpDev/events/141341842/)
Slides for this presentation located at [slid.es](http://slid.es/brianscaturro/phpstorm-a-love-story)
Stack
-----
This simple showpiece was initialized via composer. It is built off of the [ZF2 Skeleton Application](https://github.com/zendframework/ZendSkeletonApplication)
MongoDB was the db of choice, and the [Doctrine ODM Module](https://github.com/doctrine/DoctrineMongoODMModule) for ZF2 was used to do the talking.
There is a single RESTful `TodosController` that highlights creating and listing resources.
Running
-------
First install dependencies via composer (from the project root):
```
composer install
```
The easiest way to run this app is to fire up mongodb on the default port and use the the PHP 5.4 builtin web server.
```
mongod
php -s 0.0.0.0:8080
```
There is only one endpoint this piece exposes - /todos. There is a POST endpoint for creating todos, and a GET endpoint for listing them.