#PetsPlaza (REST API only)
Before you can run this application, you need to have the following installed on your machine:
=> PHP 8.1 or higher => Composer => MySQL => Node.js => npm
- Clone the repository :
git clone https://github.com/your-username/my-laravel-app.git
- Install the project dependencies using Composer:
cd my-laravel-app
composer install
- Copy the .env.example file to .env and update the database configuration:
cp .env.example .env
nano .env
- Generate the application key:
php artisan key:generate
- Run the database migrations:
php artisan migrate
- Generate a JWT authentication secret by running the following command:
php artisan jwt:secret
- Run the database migrations:
php artisan db:seed
To start the application, run the following command:
php artisan serve