Skip to content

melihs/e-commerce-api

Repository files navigation

E-commerce API

Api document

Libraries in the Project

All Endpoints

 GET|HEAD  | api/user                                      
 POST      | api/products                            
 GET|HEAD  | api/products                            
 GET|HEAD  | api/products/{product}                  
 DELETE    | api/products/{product}                  
 PUT|PATCH | api/products/{product}                  
 POST      | api/products/{product}/reviews          
 GET|HEAD  | api/products/{product}/reviews          
 DELETE    | api/products/{product}/reviews/{review} 
 PUT|PATCH | api/products/{product}/reviews/{review} 
 GET|HEAD  | api/products/{product}/reviews/{review}                                                                                                        
 

Getting Started

Installation (Manual)

$ git clone https://github.com/melihs/e-commerce-api.git 
$ cd e-commerce-api && composer install
$ cp .env.example .env
- create new database and modifed your .env
$ php artisan migrate:fresh --seed
$ php artisan passport:install
$ php artisan key:generate 
$ php artisan serve

Releases

No releases published

Packages

No packages published

Languages