A web application for managing lost and found items built with Laravel (Backend) and Vue.js (Frontend).
- PHP >= 8.2
- Node.js >= 16
- Composer
- MySQL/MariaDB
- Git
- Navigate to backend directory:
cd backend- Install PHP dependencies:
composer install- Create environment file:
cp .env.example .env- Configure your
.envfile:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_username
DB_PASSWORD=your_password
JWT_SECRET=your_jwt_secret- Generate application key:
php artisan key:generate- Generate JWT secret:
php artisan jwt:secret- Create storage link:
php artisan storage:link- Run database migrations:
php artisan migrate- Start the development server:
php artisan serve- Navigate to frontend directory:
cd frontend- Install Node.js dependencies:
npm install- Start the development server:
npm run dev- Backend API will be available at:
http://localhost:8000 - Frontend application will be available at:
http://localhost:5173
- User authentication (Login/Register)
- Create lost/found item reports
- Upload images for items
- Update item status
- Chat system for item claims
- Admin dashboard for management
lostnfound/
├── backend/ # Laravel API
│ ├── app/
│ ├── config/
│ ├── database/
│ └── ...
└── frontend/ # Vue.js application
├── src/
├── public/
└── ...
- Storage permissions:
chmod -R 775 storage
chmod -R 775 bootstrap/cache- If images don't appear:
php artisan storage:link- Database connection issues:
- Verify database credentials in
.env - Ensure MySQL service is running
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request