JasonMortonNZ / HailOAuthExample

Hail OAuth workflow to grab articles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stack

  • PHP 8.1
  • Laravel v9.3.1

Installation / Setup

  1. Clone repository & move into directory
git clone git@github.com:JasonMortonNZ/HailOAuthExample.git Hail
  1. Change directory
cd Hail
  1. Create an .env file with bare essentials (HAIL_ entries are important!)
cp .env.example .env 
  1. Generate an app key
php artisan key:generate
  1. Install composer dependencies
composer install
  1. Setup local Valet link (optional)
valet link hail --secure # --secure flag for HTTPS (again optional)
  1. Visit https://hail.test and hit the "Connect to Hail" button
  2. Follow the OAuth2 flow and upon redirect view the articles!!

About

Hail OAuth workflow to grab articles


Languages

Language:PHP 96.7%Language:Blade 2.6%Language:Shell 0.4%Language:JavaScript 0.3%