melihs / e-commerce-api

E Commerce Restful API development with Laravel 5.8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

E Commerce Restful API development with Laravel 5.8

License:GNU General Public License v3.0


Languages

Language:PHP 82.2%Language:Blade 16.7%Language:Shell 0.6%Language:Vue 0.5%