- To run this project, you must have PHP 7.4 installed.
- You should setup a host on your web server for your local domain. For this you could also configure Laravel Homestead or Valet.
Begin by cloning this repository to your machine, and installing all Composer & NPM dependencies.
composer install
npm install && npm run dev
Copy .env.example to .env Setup Database. Read more
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE='DATABASE_NAME'
DB_USERNAME=root
DB_PASSWORD=
Run Database Migration
php artisan migrate
Next, Generate Fake Data.
php artisan db:seed
Next, Test everything working ? (don't say, there is lots of duplicate code. it's just a demo.).
test is already written.
you just have run test in you system. (completely optional)
Next, boot up a server and visit your site.
php artisan serve