Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eduinlight/angularjs-codeigniter
Write code with angularjs in the same way that with angular2. This project is just what you need to became a ninja with angularjs.
https://github.com/eduinlight/angularjs-codeigniter
angularjs api-rest codeigniter
Last synced: 24 days ago
JSON representation
Write code with angularjs in the same way that with angular2. This project is just what you need to became a ninja with angularjs.
- Host: GitHub
- URL: https://github.com/eduinlight/angularjs-codeigniter
- Owner: eduinlight
- License: other
- Created: 2018-02-05T23:51:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-30T21:36:01.000Z (over 4 years ago)
- Last Synced: 2024-11-17T06:36:17.280Z (3 months ago)
- Topics: angularjs, api-rest, codeigniter
- Language: PHP
- Size: 22.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# angularjs-codeigniter
This project is going to help you to combine angularjs and codeigniter framework with the help of a RESTFul Service. I came from angular 4X but in a project they said that I must to use angularjs. So I create a structure similar to angular 4X for develop this project. I hope that you find it interesting.
One of the things that I like of what I did, was that I don't have needs to import anything just create the file with the right name an use it later without any import. For every request you can see information about the request and the response from the server and can be removed for production.## How to use
### Download the project and execute it
```bash
git clone https://github.com/eduinlight/angularjs-codeigniter/
tar -xz angularjs-codeigniter.zip
cd angularjs-codeigniter
npm install
npm start
```### Create the database with MYSQL
```bash
mysql -u user -p
>>CREATE DATABASE angularjs_ci;
mysql -u user -p angularjs_ci < ./db/angularjs_ci.sql
```### Build for production
```bash
npm run build
```After that you need to change #dist/app.js for #dist/app.min.js on your index.html dependencies
## THANKS
Thank's to the [angularjs](https://github.com/angular) team, [codeigniter](https://github.com/bcit-ci/CodeIgniter) team, [gulp](https://github.com/gulpjs/gulp) team, the [AdminLTE](https://github.com/almasaeed2010/AdminLTE) template for google to provide the easiest library to use JWT with php from the FIREBASE API for PHP. And of course thanks to the [babel](https://github.com/babel/babel) team that allow me to use a modern javascript syntax.
## License
angularjs-codeigniter is licensed under the MIT license, see
[LICENSE](https://github.com/eduinlight/angularjs-codeigniter/blob/master/LICENSE).