- PHP 7.4 or higher
- Composer
- Node.js
- npm
- Clone the Git repository
$ git clone <repository URL>
- Install Laravel dependencies
$ cd api
$ composer install
- Install Vue.js dependencies
$ npm install
- Copy the .env.example file to create a .env file
$ cp .env.example .env
- Generate an application key
$ php artisan key:generate
$ php artisan serve
Access the api in your browser by visiting http://localhost:8000.
To compile assets for the development environment, run the following command:
$ npm run dev
Access the application in your browser by visiting http://localhost:5173.
To compile assets for the production environment, run the following command:
$ npm run prod