Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 832 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 832 Bytes

Clone this repo using git clone --depth=1 https://github.com/DmitriySmolin/react-laravel-crud.git <YOUR_PROJECT_NAME>

Frontend

  1. Move to the appropriate directory: cd <YOUR_PROJECT_NAME>.
  2. Run npm run install in order to install dependencies and clean the git repo.
    At this point you can run npm start to see the example app at http://localhost:3000.
  3. Run npm run clean to delete the example app.

Backend

  1. Move to the appropriate directory: cd <YOUR_PROJECT_NAME>.
  2. Run composer install in order to install dependencies and clean the git repo.
  3. Set up a database connection in a file .env
  4. Run a database migration php artisan migrate:fresh --sed At this point you can run php artisan serve to see the example app at http://localhost:8000.