Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/leduong/laravel-angular-auth

Laravel AngularJS Authentication
https://github.com/leduong/laravel-angular-auth

Last synced: about 1 month ago
JSON representation

Laravel AngularJS Authentication

Awesome Lists containing this project

README

        

## Welcome to Laravel 5 RestAPI

# Step by Step

Required:

Git
PHP Composer

Install Backend:

Download package
$ git clone https://github.com/danalex/Laravel-RESTful.git
$ cd Laravel-RESTful
$ chmod -R 777 storage

run composer
$ composer install

Create database in your local mysql server (default use SQlite)
$ mysql -u root -p
mysql > CREATE USER 'example'@'localhost' IDENTIFIED BY 'example';
mysql > CREATE DATABASE IF NOT EXISTS `example`;
mysql > GRANT ALL PRIVILEGES ON `example`.* TO 'example'@'localhost';

or edit the database configuration file
$ vi app/config/database.php

run migration
$ php artisan migrate

run seeds
$ php artisan db:seed

run server (default http://localhost:8000)
$ php artisan serve

- Setup your apache virtual host file. located: apache.conf or nginx.conf for nginx
Done

## Laravel PHP Framework

[![Build Status](https://travis-ci.org/laravel/framework.svg)](https://travis-ci.org/laravel/framework)
[![Total Downloads](https://poser.pugx.org/laravel/framework/d/total.svg)](https://packagist.org/packages/laravel/framework)
[![Latest Stable Version](https://poser.pugx.org/laravel/framework/v/stable.svg)](https://packagist.org/packages/laravel/framework)
[![Latest Unstable Version](https://poser.pugx.org/laravel/framework/v/unstable.svg)](https://packagist.org/packages/laravel/framework)
[![License](https://poser.pugx.org/laravel/framework/license.svg)](https://packagist.org/packages/laravel/framework)

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.

Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.

## Official Documentation

Documentation for the framework can be found on the [Laravel website](http://laravel.com/docs).

## Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](http://laravel.com/docs/contributions).

## Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at [email protected]. All security vulnerabilities will be promptly addressed.

### License

The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)