framgia / sph-els-francis-santos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E-Learning sph-els-francis-santos

Tech Stack

-React- https://reactjs.org/
-Laravel- https://laravel.com/

Setup

FE

  1. cd fe
  2. npm install
  3. npm start

BE

  1. cd be
  2. composer install
  3. cp .env.example .env
  4. php artisan key:generate
  5. Change the following database connection
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
  1. php artisan migrate
  2. Allow permission sudo chmod 777 -R storage
  3. php artisan serve

Run Linters

FE - ./node_modules/.bin/eslint src --ext .jsx,.js
BE - ./vendor/bin/phpcs --colors --report=full --exclude=PSR1.Methods.CamelCapsMethodName --standard=PSR2 ./app ./config ./database ./routes ./tests

Documentation

About


Languages

Language:PHP 73.4%Language:Blade 15.4%Language:JavaScript 8.2%Language:HTML 1.4%Language:Shell 0.8%Language:CSS 0.8%