From 0be77587836a8e32cd3ee85e74050ae54535075c Mon Sep 17 00:00:00 2001 From: andela-fokosun Date: Fri, 26 Feb 2016 00:41:55 +0100 Subject: [PATCH 01/29] modify readme Rephrase how to go about getting API credentials from providers --- readme.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/readme.md b/readme.md index 252ba7a..fd6cb6d 100644 --- a/readme.md +++ b/readme.md @@ -97,23 +97,20 @@ composer install # Run your migrations php artisan migrate -# Publish the config files for the different service providers for Cloudder, Laravel Github, Slack,Twitter, Twilio by quickly checking their readme and following the steps -*[Cloudder](https://github.com/jrm2k6/cloudder) -*[Twitter](https://github.com/thujohn/twitter) -*[Twilio](https://github.com/aloha/laravel-twilio) -*[Github](https://github.com/GrahamCampbell/Laravel-GitHub) -*[Slack](https://github.com/vluzrmos/laravel-slack-api) -*[Socialite Providers](https://github.com/SocialiteProviders/Instagram) -*[Socialite LinkedIn](https://github.com/SocialiteProviders/LinkedIn) - php artisan serve ``` +# This starter pack includes the following APIs. You will need to obtain appropriate credentials like Client ID, zClient secret, API key, or Username & Password by going through each provider and generate new credentials. +* Cloudder +* Twitter +* Twillo +* Github +* Slack +* Socialite Providers +* Socialite LinkedIn Obtaining API Keys ------------------ -To use any of the included APIs or OAuth authentication methods, you will need to obtain appropriate credentials: Client ID, Client Secret, API Key, or Username & Password. You will need to go through each provider to generate new credentials. - - Visit [Google Cloud Console](https://cloud.google.com/console/project) - Click on the **Create Project** button @@ -282,6 +279,8 @@ The same goes for other providers. - Once logged into the dashboard, expand the link 'show api credentials' - Copy your Account Sid and Auth Token +run ```php artisan vendor:publish``` + Project Structure ----------------- From af1b187301cd54bc5b4ba39cad021c4b122f3518 Mon Sep 17 00:00:00 2001 From: Julie Engel Date: Tue, 1 Mar 2016 15:52:03 +0100 Subject: [PATCH 02/29] Update readme.md Cleared up some typos / mistakes for setting up the books Demo --- readme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 252ba7a..ee9b933 100644 --- a/readme.md +++ b/readme.md @@ -522,21 +522,21 @@ namespace App\Http\Controllers; use Illuminate\Http\Request; -use Book; +use App\Book; use App\Http\Requests; use App\Http\Controllers\Controller; class BookController extends Controller { /** - * Return all data to the Stripe API dashboard + * Return all books * @return mixed */ - public function getPage() + public function getBooks() { $books = Book::all(); - return view('api.book')->withBooks($books); + return view('books')->withBooks($books); } } ``` @@ -554,8 +554,8 @@ class BookController extends Controller