-
Clone the Git Repository:
Run
git clone https://github.com/jmkolawole/laravel-react-fullstack-application-with-passport-redux-and-material-ui.git -
cd into the project directory:
Run
cd laravel-react-fullstack-application-with-passport-redux-and-material-ui
-
cd into the "Backend" folder: Run
cd Backend -
Copy .env.example file and rename as .env; Alternatively, run
cp .env.example .env -
Edit database credentials in your newly generated/created .env file
-
Run
composer installto install all libraries and dependencies in the composer.lock file -
Run
php artisan key:generateto set the APP_KEY value in the .env file -
Having created a database, and specifying the same with the right credentials in your .env file, run
php artisan migrateto create the tables -
Run
php artisan serveto run the PHP development server. Alternatively, you can run your project with XAMPP or WAMP.
-
cd into the "Frontend" folder: Run
cd Frontend -
Run
npm installto download all packages and dependencies needed for our client -
While making sure that the API (Laravel) Server is up and running, run
npn startto start your react application -
Congratulations!!!