Wednesday, 4 January 2023

Laravel with Nextjs setup

 Steps to follow

composer create-project laravel/laravel example-app

cd example-app

php artisan serve

Open the .env file and update the database details

Add the below line before LOG_CHANNEL=stack

SESSION_DOMAIN=localhost

php artisan migrate

php artisan serve


composer require laravel/breeze --dev

php artisan breeze:install api


git clone https://github.com/laravel/breeze-next.git

cd breeze-next

npm install

rename the .env.example file to .env.local

npm run dev

No comments:

Post a Comment

Machine Learning - Potato Leaf Disease Prediction

Step 1: import numpy as np import pandas as pd import splitfolders import matplotlib.pyplot as plt import tensorflow as tf from tensorflow i...