An open API service indexing awesome lists of open source software.

https://github.com/danilomeneghel/angularjs_laravel

API CRUD in PHP with AngularJS and Laravel
https://github.com/danilomeneghel/angularjs_laravel

angularjs bootstrap jquery js json laravel php

Last synced: 3 months ago
JSON representation

API CRUD in PHP with AngularJS and Laravel

Awesome Lists containing this project

README

          

# Laravel AngularJS

Project developed with the Laravel Framework 5 and AngularJS 1.5.

## Features

- OAuth
- Login with E-mail, Google, Facebook, Twitter or GitHub
- Routes
- API CRUD
- Filter
- Pagination
- View Blade
- Responsive

## Requirements

- Apache
- PHP >= 5.5.9
- MySql >=5
- Composer

## Tecnologies

- PHP
- JS
- Jquery
- Json
- AngularJS
- CSS and SCSS
- Bootstrap
- Composer
- Artisan

## Installation

```
$ git clone https://github.com/danilomeneghel/angularjs_laravel.git

$ cd angularjs_laravel

$ composer install
```

Then create a database with name angularjs_laravel in your mysql.
Then run the following commands:

```
$ mysql -u -p

mysql> create database `angularjs_laravel`;
```

Back to terminal, check if the .env file has the correct data to connect to the database and run Artisan:

```
$ php artisan key:generate

$ php artisan migrate

$ php artisan db:seed
```

After everything is done, run the project:

```
$ php artisan serve
```

Finally open http://localhost:8000/ in your browser.

## Social Login

To set up login with social networks, follow the steps below:

```
FB_ID=app-id-here
FB_SECRET=app-secret-here

TW_ID=app-id-here
TW_SECRET=app-secret-here

GL_ID=app-id-here
GL_SECRET=app-secret-here

GH_ID=app-id-here
GH_SECRET=app-secret-here
```

Make sure you set correct redirect url in dev console of providers. It should be like `env('APP_URL') . '/oauth/twitter/callback'` format.

## Demonstration

http://angularjs-laravel.herokuapp.com/

- Login
- Email: admin@admin.com
- Password: admin123

## License

Laravel Admin is licensed under The MIT License (MIT).

## Screenshots

![Screenshots](screenshots/screenshot01.png)


![Screenshots](screenshots/screenshot02.png)


![Screenshots](screenshots/screenshot03.png)


![Screenshots](screenshots/screenshot04.png)


![Screenshots](screenshots/screenshot05.png)


![Screenshots](screenshots/screenshot06.png)

Developed by

Danilo Meneghel

danilo.meneghel@gmail.com

http://danilomeneghel.github.io/