E-Learning sph-els-francis-santos
Tech Stack
-React- https://reactjs.org/
-Laravel- https://laravel.com/
Setup
FE
cd fe
npm install
npm start
BE
cd be
composer install
cp .env.example .env
php artisan key:generate
- 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=
php artisan migrate
- Allow permission
sudo chmod 777 -R storage
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