This project is a multi-vendor E-Commerce API is built with Laravel. It offers RESTful API endpoints for managing vendors, products, and orders making it ideal for developers looking to implement a robust e-commerce solution.
Allow vendors to create stores and manage their products.
Enable vendors to add, update, and delete products effortlessly.
Customers can browse products and place orders seamlessly.
Securely process payments using the Plutu Payment Gateway.
Admins have full control to manage vendors, products, and orders.
Users can register, log in, and access only their authorized resources.
- Php (version 7.4 or later)
- Composer
- Laravel 10
- MySQL
For API testing and documentation, you can access the Postman workspace here.
-
Clone the repository:
git clone https://github.com/manomano500/bazar-backend.git cd Multi-Vendor-Ecommerce-Laravel-API
-
Install dependencies:
composer install
-
Set up your environment variables:
cp .env.example .env
Update the
.env
file with your credentials. -
Generate an application key:
php artisan key:generate
-
Run the migrations:
php artisan migrate
-
Start the development server:
php artisan serve
-
Access the API: The API will be available at
http://localhost:8000
.