Laravel & React Js Simple Assessment.
Clone the repo and follow below steps.
- Run
composer install
- Copy
.env.example
to.env
Example for linux users :cp .env.example .env
- Set valid database credentials of env variables
DB_DATABASE
,DB_USERNAME
, andDB_PASSWORD
- Run
php artisan key:generate
to generate application key - Run
php artisan migrate
- Run
php artisan db:seed
to seed your database - Run
npm i
(Recommended node version>= V16.0
) - Run
npm run dev
ornpm run prod
as per your environment - Run
php artisan serve