Please follow the guide.
git clone
update the .env file along with database connection
composer install && composer update
php artisan migrate
php artisan db:seed
npm install
Open a terminal window and install the passport using following command
php artisan passport:install
Copy the keys for personal and password grants in .env
file
PERSONAL_CLIENT_ID=1
PERSONAL_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PASSWORD_CLIENT_ID=2
PASSWORD_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Set the APP_URL in .env
file (e.g)
APP_URL=http://localhost:8000
Set the APP_TITLE in resources/assets/js/values/index.js
APP_TITLE='Your Blog Name'
Either create a local dev url and map the link in webpack.mix.js file or open an other terminal window and copy paste the following command
php artisan serve
Compile assets one time.
npm run dev
OR or if you would like to compile assets on runtime then copy paste following command in terminal
npm run watch
or npm run watch-poll
for complete list of instruction follow the link below Laravel Mix
TODO:
- Add Redux
- Add Passport for authentication
- User Login
- User Register
- Users Crud
- Articles Crud
- Form validation Client and Server
- Reset Password
- Tests
- Upgrade to Laravel 5.6
- Upgrade to React 16