yoshikyoto / lol-personal-data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoL Personal Data

Download Homestead

https://readouble.com/laravel/5.8/ja/homestead.html

Getting Started

cp .env.example .env 
composer install 
yarn install --no-bin-links 
php artisan key:generate 

Database

migrate

php artisan migrate

check migarete result

$ psql -U homestead -h localhost

homestead=# \d
                 List of relations
 Schema |       Name        |   Type   |   Owner
--------+-------------------+----------+-----------
 public | champion          | table    | homestead
 public | migrations        | table    | homestead
 public | migrations_id_seq | sequence | homestead
(3 rows)

homestead=# \d champion
                           Table "public.champion"
   Column   |              Type              | Collation | Nullable | Default
------------+--------------------------------+-----------+----------+---------
 id         | bigint                         |           | not null |
 name       | character varying(255)         |           | not null |
 icon_url   | character varying(255)         |           | not null |
 created_at | timestamp(0) without time zone |           |          |
 updated_at | timestamp(0) without time zone |           |          |

Champion Command and Debug

php artisan champion:welcome

Access to http://homestead.test/graphql-playground

Query

Directory

  • Temple: Domain Repository, Services
  • Kami: Domain Objects (Entity/ValueObject)
  • Jinja: Eloquent Model, DB interface
  • Zen: External API related classes such as API client

About


Languages

Language:PHP 97.0%Language:HTML 2.5%Language:Vue 0.5%