Skip to content

ecobos/ChinchillaThrilla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Lazer Reviews v0.7

Added libraries:

Bootstrap (laravel\\public), Socialite(laravel\\vendor\\laravel\\socialite), and HTML helper (laravel\\vendor\\laravelcollective\\)

Amazon S3 Image Support Added

You are now able to upload images onto my bucket. Those images are then retrieved in the product page from my AWS S3 account. Check out the code for that. If you get an SSL error, do the following:
  • Install certificate file, it's in the root of my branch cacert.pem
  • Change php.ini file to point to it. Change this option: curl.cainfo = "c:/wamp/www/ChinchillaThrilla/laravel/cacert.pem"
  • Done. It should work now.

API Key support added

To test simply add the X-Authorization header to your request. Views do not require an API key since any user should be able to look at products and things of that such.

If you want to create a key for yourself, simply run this command: php artisan api-key:generate --user-id=1 where 1 is the userID you are tying that key to.

I've gone and created a way to give people API keys

The controller is called APIController... but that requires a special key. Only we should be able to give out keys.

Put all this in your wamp folder. To test the controllers, user these URI's:

  • http://localhost:8000/
  • http://localhost:8000/profile
  • http://localhost:8000/about
Port numbers might vary depending on your setup

The home page is using bootstrap, just wanted to show you that. I've commented everything. I show you how to include bootstrap using HTML helper. The profile page is also using bootstrap. Look over the master_page.blade.php to see how a master page works. That master page is then extended in the about.blade.php page. It extends the master page. That's all the code included. After you test it out, feel free to delete those files

Files to delete:

  • user_account.blade.php
  • about.blade.php

Let me know if I can clarify anything... The rest of the files has not been touched, but I did want us to get up and running with the basics.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •