https://github.com/mentorg/laravel-task-manager
https://github.com/mentorg/laravel-task-manager
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mentorg/laravel-task-manager
- Owner: Mentorg
- Created: 2024-11-15T15:07:37.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-15T16:16:13.000Z (7 months ago)
- Last Synced: 2025-01-12T06:12:31.485Z (5 months ago)
- Language: PHP
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Project Setup Guide
Follow the steps below to set up and run the app locally.
**Prerequisites**
Before starting, make sure you have the following installed on your system:- **PHP** (8.2 or higher)
- **Composer** (for PHP package management)
- **Node.js** and **npm** (for front-end dependencies)
- **MySQL** or **MariaDB** (for database)
- **A local server environment** (such as **XAMPP** or **Herd**)#### 1. Clone the Repository
Clone the repository to your local machine:
```
git clone https://github.com/Mentorg/Laravel-Task-Manager.git
cd Laravel-Task-Manager
```#### 2. Install PHP Dependencies
Install the required PHP dependencies using Composer:
`composer install`#### 3. Install Fron-End Dependencies
Install the necessary front-end dependencies with npm:
`npm install`
After installing the Node.js dependencies, run the following command to compile the front-end assets:
`npm run dev`#### 4. Set Up the Database
Run the database migrations to create the required tables:
`php artisan migrate`**Note:** After running the command above you might get asked to create an SQLITE file, please type 'yes' and then move on with the rest.
You can also seed the database with some initial data:
`php artisan db:seed`#### 5. Start the Development Server
**Option 1: Using Herd**
If you're using **Herd**, open your browser and visit:
`todo-list.test`**Option 2: Using XAMPP or other local servers**
If you're using **XAMPP** or another server setup, follow these steps:1. Open a new terminal window.
2. Run the following command to start the Laravel development server:
`php artisan serve`
3. Open your browser and visit:
`http://127.0.0.1:8000`#### 7. Access the Application
Once the server is running, you can access the app through the provided URL:
For **Herd**: `todo-list.test`
For **XAMPP**: `http://127.0.0.1:8000`