Skip to content

lucas-faget/laravel-svelte-healthy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 

Repository files navigation

Laravel and Svelte

Prerequisites

  • PHP 7.4 or higher
  • Composer
  • Node.js
  • npm

Installation

  1. Clone the Git repository
$ git clone <repository URL>
  1. Install Laravel dependencies
$ cd api
$ composer install
  1. Install Vue.js dependencies
$ npm install
  1. Copy the .env.example file to create a .env file
$ cp .env.example .env
  1. Generate an application key
$ php artisan key:generate

Start the development server

$ php artisan serve

Access the api in your browser by visiting http://localhost:8000.

Compiling Assets

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published