Assignment task for Sambark Tech
🚀 Laravel Project
This is a Laravel-based project developed as part of the assignment. The repository includes the source code, setup instructions, and configurations to run the project locally.
📦 Requirements
PHP >= 8.2
Composer >= 2.x
Laravel >= 10.x
MySQL
⚙️ Installation & Setup
Follow these steps to set up the project locally:
Clone the Repository
git clone https://github.com/rajendrakataria43/laravel_project.git cd laravel_project
Install Dependencies
composer install
Environment Setup
Copy .env.example to .env
cp .env.example .env
Update the following variables in .env:
APP_NAME="Laravel Assignment" APP_URL=http://localhost:8000
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel_project DB_USERNAME=root DB_PASSWORD=
Generate Application Key
php artisan key:generate
Run Migrations & Seeders
php artisan migrate --seed
Start Development Server
php artisan serve
Project will be available at: 👉 http://127.0.0.1:8000
📂 Project Structure (Important Parts)
app/Models → Eloquent models
app/Http/Controllers → Application controllers
database/migrations → Database migrations
routes/web.php → Web routes
✅ Submission
This project has been uploaded to a public GitHub repository as requested. GitHub Repo: https://github.com/rajendrakataria43/laravel_project.git