This repository contains a Laravel 11 application featuring a Sanctum-based API for authentication and product management, along with a Breeze-powered frontend (styled with Tailwind CSS). Below are the key features, setup instructions, and usage details.
For a step-by-step guide to building this project from scratch, refer to the INSTALL.md documentation.
Built using Laravel Breeze for a simple and elegant user interface.
Fully responsive across multiple devices.
Before you begin, ensure you have the following installed on your system:
Clone the repository:
git clone https://github.com/KevinThulnith/Laravel-project.git
cd Laravel-project
Install PHP dependencies:
composer install
Install JavaScript dependencies:
npm install && npm run dev
Set up your environment file:
cp .env.example .env
Update the .env
file with your database credentials and other necessary configuration.
Generate the application key:
php artisan key:generate
Run database migrations:
php artisan migrate
Seed initial data (if any):
php artisan db:seed
Serve the application:
php artisan serve
The application will be available at http://localhost:8000
.
POST /api/login
POST /api/logout
POST /api/email/verify
POST /api/products
DELETE /api/products/{id}
PUT /api/products/{id}
GET /api/products
The frontend is built using Laravel Breeze and Tailwind styling, providing:
Run the test suite to ensure everything is working as expected:
php artisan test
This project is open-source and available under the MIT license.
Feel free to contribute and enhance the project! For questions or suggestions, open an issue or submit a pull request.