Skip to content

developermithu/api-blog-laravel

Repository files navigation

Blog Backend

Installation Steps

  1. Clone the repository:
https://github.com/developermithu/api-blog-laravel.git
  1. Change directory:
cd api-blog-laravel
  1. Install dependencies:
composer install
  1. Copy the .env.example file to .env:
cp .env.example .env
  1. Generate the application key:
php artisan key:generate
  1. Update the database configuration in the .env file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=api-blog-laravel
DB_USERNAME=root
DB_PASSWORD=
  1. Migrate and seed the database:
php artisan migrate:fresh --seed    
  1. Start the development server:
php artisan serve --host=localhost

we explicitly set the host to localhost to avoid sanctum cors issues.

  1. Open the application in your web browser at http://localhost:8000.

About

Blog backend - Laravel 12, Inertia v2, React 19

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy