Skip to content

Latest commit

 

History

History
executable file
·
28 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

executable file
·
28 lines (24 loc) · 1.01 KB

Setup Project Laravel & React

Project Description

this project uses Laravel as a backend, Reactjs as a frontend, and components UI use AntDesign. List Tasks Setup Project here

list version

composer.json

  • php ^7.2
  • Laravel 5.8

package.json

  • react js ^16.2
  • laravel-mix ^4.0.16 (important for route lazy react)
  • antDesign ^4.1.4

How to Install on Local Environment

You can follow the following step to configure this project

  • Clone the repository using the command "git clone https://github.com/haidi20/setup-project.git"
  • Create database in mysql
  • Add rename .env.example file to .env and configure for the database
  • Now go up to project and run the following commands
    $ composer install
    $ php artisan key:generate
    $ php artisan migrate
    $ php artisan db:seed
    $ yarn install (for install package node_modules)
  • And run command $ php artisan serve and take a look at "localhost:8000" in browser