0.1.2 • Published 10 years ago

generator-flightangular v0.1.2

Weekly downloads
4
License
-
Repository
github
Last release
10 years ago

generator-flightangular Build Status

A generator for Yeoman.

Yeoman FlightPHP and AngularJS Generators

This Yeoman generator builds simple AngularJS webapps with a FlightPHP REST API at the server side. (Using MongoDB as storage)

To install generator-flightangular from npm, run:

$ git clone git@github.com:OddEssay/generator-flightangular.git
$ cd generator-flightangular
$ sudo npm link

Then, initiate the generator from your desired deployment location.

$ yo flightangular

Anything in the "public" directory is exposed to the webserver.

To create a new set of CRUD routes:

$ yo flightangular:crud 

Angular Routes created will be: // - List all models in the db. //create - Create a new item. //:id - Display an item. //:id/edit - Edit an existing item.

Tests

To run PHPUnit tests, ensure you have run composer to deploy PHP components and have "./composer/bin" in your path so the executable can be found, or that PHPUnit is globally available from somewhere else.

Created By

Paul Freeman (@OddEssay). Made in Liverpool.

License

MIT License

0.1.2

10 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago