A seed based on multi-angular-apps-seed with CodeIgniter on the back.
api/ -> codeigniter v3.0 source files, application and system directories
apps/ -> all apps source files
admin/ -> admin's app source files
controllers/ -> angular controller scripts
directives/ -> angular directive scripts
services/ -> angular service scripts
routes/ -> angular routes scripts
views/ -> view templates
app.js -> main application module
frontend/ -> frontend's app source files
controllers/ -> angular controller scripts
directives/ -> angular directive scripts
services/ -> angular service scripts
routes/ -> angular routes scripts
views/ -> view templates
app.js -> main application module
shared/ -> all shared assets between the apps
fonts/ -> copied font files
images/ -> image files
scripts/ -> build js files
styles/ -> build css files
grunt/ -> gruntjs tasks files
config/ -> all tasks configuration
pipeline/ -> configuration of assets linker
register/ -> all tasks register
views/ -> all view templates of the apps rendered by server
admin/ -> view templates of admin app
layout.php -> layout file to be linked assets
frontend/ -> view templates of frontend app
layout.php -> layout file to be linked assets
Gruntfile.js -> main script to load and register grunt tasks
bower.json -> dependencies list
package.json -> node packages list
.htaccess
- angular-resource
- angular-ui-router
- angular-cookies
- angular-bootstrap
- ng-progress
- oclazyload
- jquery
- bootstrap
- font-awesome
- nomalize.css
- grunt-contrib-clean
- grunt-contrib-concat
- grunt-contrib-copy
- grunt-contrib-cssmin
- grunt-contrib-uglify
- grunt-contrib-watch
- grunt-sails-linker
You need
- Git to clone the repo
- Node.js and its package manager npm to install and build dependencies
- PHP-Apache stack to host the app
$ git clone https://github.com/phatpham9/angular-codeigniter-seed
$ cd angular-codeigniter-seed
Node modules then vendors will be install
$ npm install
In development mode, run
$ grunt
Or in production mode, run
$ grunt prod
Start the Apache server then open your browser and enter http://localhost/angular-codeigniter-seed/ to go to frontend app by default. To go to admin app, enter http://localhost/angular-codeigniter-seed/admin/
If you like it and want to contribute, just folk my repo and pull your requests.
MIT license
0.0.1