sample app structure basic integration between AngularJS 1.x and LAMP Codeigniter 3.x.
This project code is forked from https://github.com/giannidk/CodeIgniter-AngularJS-sample-app/
- Edit News or Articles
- Access control for Edit News
- Login/Logoff
- User / Admin feature Protected by php session backend (could switch to JWT in front end easily)
- AngularJS improvement upgraded to 1.5.11 and JS code clean up
- Rich text editor - Angular-ui-tinymce
- Quick article edit for admin
- Categories View of article
More features will be added
visit www.fullstack-tutorial.com
(Add/Edit articles is hidden apparently! it is (password protected) accessible by me to add or edit articles)
Option to use cache in front end JS See scripts/app.config.js 'USE_CACHE': true' And cache check code in controllers
Assuming LAMP stack installed on your system
- git clone [email protected]:cheungh/angularjs_codeigniter.git
- Import database.sql in your database
- Change BASE_URL -> scripts/app/config/app.config.js (Optional. you can change to your server name or server path)
- Change Database user password -> CI/application/config/database.php
- bower install on root project folder
- default username stored in database script is admin / password
- set document root to public_html