To run the project, you will need both a backend server and a frontend server to be running at the same timeas such, run each in a separate terminal.
yarn start, to run the frontend
php artisan serve, to run the backend
yarn install to update the frontend packages
composer update --no-scripts to update the backend packages
- Download PHP 7.2 (Minimum requirement) and add it to your system environment
- Install Composer
- Install laravel by running the following command
composer global require laravel/installer - In the back-end folder, make sure you have an .env file. (Just copy the .env.example file and remove .example)
- In the command line, run
composer update --no-scriptsto install / update the backend packages - Next, run
php artisan key:generate - Finally, run
php artisan serveto start the server on localhost:8000 (This can be changed in the .env file)
- Make sure you have node.js installed
- Next, you need to install Yarn
- After you installed Yarn, enter the front-end folder, run the following command
yarn installto install / update the packages - Finally, run
yarn startto start the frontend on localhost:3000.
Click Here to access the project proposal.