Follow the steps below to clone and set up the project on your local machine.
Make sure you have the following installed on your machine:
- PHP (>= 8.2)
- Composer
- Node.js & NPM
- Git
- A database (MySQL, PostgreSQL, etc.)
Clone the repository using the following command:
git clone https://github.com/Laravel-Moris/livewire-todo-app-demo.git
cd livewire-todo-app-demo
Installing composer dependencies
composer install
Next, install Node.js dependencies:
npm install
Create a copy of the .env.example
file and rename it to .env
:
cp .env.example .env
Generate the application key using:
php artisan key:generate
Update the .env
file with your database credentials and any other necessary configurations (e.g., DB_HOST
, DB_PORT
, DB_DATABASE
, DB_USERNAME
, DB_PASSWORD
).
Run the following command to set up the database:
php artisan migrate
Start the development server:
npm run dev
php artisan serve
The application will be accessible at http://127.0.0.1:8000
.
- You can send us an email on [email protected]