GithubHelp home page GithubHelp logo

quangnguyen90 / angular-codeigniter-seed Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 648 KB

A seed based on multi-angular-apps-seed with CodeIgniter on the back

Home Page: http://apps.phatpham.com/angular-codeigniter-seed

License: MIT License

ApacheConf 0.02% JavaScript 0.92% PHP 98.55% HTML 0.51%

angular-codeigniter-seed's Introduction

angular-codeigniter-seed

A seed based on multi-angular-apps-seed with CodeIgniter on the back.

Source structure

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

Included libraries

  • angular-resource
  • angular-ui-router
  • angular-cookies
  • angular-bootstrap
  • ng-progress
  • oclazyload
  • jquery
  • bootstrap
  • font-awesome
  • nomalize.css

Grunt tasks

  • grunt-contrib-clean
  • grunt-contrib-concat
  • grunt-contrib-copy
  • grunt-contrib-cssmin
  • grunt-contrib-uglify
  • grunt-contrib-watch
  • grunt-sails-linker

Installation

Prerequisites

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

Clone angular-codeigniter-seed

$ git clone https://github.com/phatpham9/angular-codeigniter-seed
$ cd angular-codeigniter-seed

Install dependencies

Node modules then vendors will be install

$ npm install

Build

In development mode, run

$ grunt

Or in production mode, run

$ grunt prod

Run the application

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/

Contribute

If you like it and want to contribute, just folk my repo and pull your requests.

License

MIT license

Version

0.0.1

angular-codeigniter-seed's People

Contributors

phatpham9 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.