fontenele / larange
Laravel + PHP + RequireJS + Angular + Bootstrap
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Type:project
Requires
- php: >=5.5.9
- barryvdh/laravel-ide-helper: ~2.0
- laracasts/flash: ~1.3
- laravel/framework: 5.1
- lucadegasperi/oauth2-server-laravel: 4.0.x@dev
Requires (Dev)
- fzaninotto/faker: ~1.4
- mockery/mockery: 0.9.*
- phpspec/phpspec: ~2.1
- phpunit/phpunit: ~4.0
README
PHP/JS Framework
- [Laravel 5.1] (https://github.com/laravel/laravel)
- [AngularJS] (https://github.com/angular/angular)
- [RequireJS] (https://github.com/requirejs/requirejs)
- [Twitter Bootstrap] (https://github.com/twbs/bootstrap)
- Auth using OAuth2 - JSON Web Token with [Sattelizer (Token-based AngularJS Authentication)] (https://github.com/sahat/satellizer) e [oauth2-server-laravel (OAuth2 Server for Laravel)] (https://github.com/lucadegasperi/oauth2-server-laravel) plugins
- Load dynamic views, js and json per route
- Monthly maintenance
- Simple code
Install
Create project via composer
$ composer create-project fontenele/larange larange
$ php artisan init-db
Clone and install manually
- Clone repository
$ git clone https://github.com/fontenele/larange.git && cd larange
- Set write permission in storage dir
$ chmod -Rf 777 storage
- Install PHP libs
$ composer install
- Install JS libs
$ bower install
(If you are using Docker or something like and you are root, use$ bower install --allow-root
) - Configure DB in .local.env file
- If you do not use PostgreSQL, edit config/database.php file and change DB driver
- Publish vendor
$ php artisan vendor:publish
- Create user table
$ php artisan migrate
- Seed users
$ php artisan db:seed
- Test app
$ php artisan serve
Test skew
- login: guilherme@fontenele.net
- password: secret
Thanks
- [@chenkie] (https://github.com/chenkie) with [jot-bot] (https://github.com/chenkie/jot-bot) project, show me how to use JWT in laravel and angular
- [@eu81273] (https://github.com/eu81273) with [AngularJS-RequireJS-Sample-Project] (https://github.com/eu81273/AngularJS-RequireJS-Sample-Project) project, he integrated RequireJS and AngularJS in older versions, but was the base to understand how they work together, and to make they works in newest versions
- [@andreymor] (https://github.com/andreymor) helpe me with AngularJS architecture and OAuth2 flows