Clone the [API Project ]
git clone https://github.com/tarikulIslamNahid/laravel-9-blog-api.git $PROJECT_NAME
Go to the project directory
cd $PROJECT_NAME
Install Composer Dependencies
composer install
Create a copy of your .env file
cp .env.example .env
In the .env file, add database information to allow Laravel to connect to the database
terminal run:
php artisan key:generate
php artisan config:clear
php artisan optimize:clear
Migrate & Seed the database. | seed is important to create user
php artisan migrate:fresh --seed
Start the server
php artisan serve
Check Api Documentation
App\api-docs
Clone the [Frontend Project ]
git clone https://github.com/tarikulIslamNahid/nuxt-3-blog.git $PROJECT_NAME
Go to the project directory
cd $PROJECT_NAME
install dependencies
yarn install
Set Backend API URL
got to -> [nuxt.config.js] file then scroll down and update API_URL: '$BACKEND_URL/api/'
serve with hot reload at localhost:3000
yarn dev
admin panel
$WEB_URL/admin