Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Sample init TODO project, PHP Silex / Mongodb, AngularJs

Notifications You must be signed in to change notification settings

afpa-stbrieuc/silex-angular-bootstrap

Repository files navigation

Build Status

silex-angular-bootstrap

Sample init TODO project, built with:

  • PHP Silex as the backend. ( use routing with yml config files )
  • AngularJs. for client side
  • Mongodb for the database.
  • Grunt for livereloading, build and tests tasks
  • Travis configuration for continuous integration

This app is inspired by yeoman angular generator and several projects i don't remember of ( sorry ).

##pre-requisite for development

  • npm for grunt dependencies
  • bower ( npm install -g bower ) for assets management
  • php composer for server side php api
  • grunt-cli ( npm install -g grunt-cli) as the tasks runner
  • mongodb driver and enabled in php.ini

##install

  git clone https://github.com/afpa-stbrieuc/silex-angular-bootstrap
  cd silex-angular-bootstrap
  npm install
  bower install
  composer install -d app/api

##development

  grunt serve

##build

  grunt

##launch from release

  • download the latest Release in the project directory launch the php embedded http server
  php -S localhost:8000 -t . api/app-dev.php