Skip to content

vincenttang1101/laravel-restapi-bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

RESTAPI - bookstore


Building REST API with bookstore

💻 Technologies Used


  • Framework PHP: Laravel
  • Database: MySQL
  • Authentication: Json Web Token
  • Authorization: Gate
  • ID Generator: Nanoid
  • Order & Delivery: Integrating API GHN

🧐 Features


  • Book Management: Get Book List, Get Book By ID, Add Book, Update Book, Delete Book, Filter/Search Book, Paginate Book, Statistic Book
  • Author Management: Get Author List, Get Author By ID, Add Author, Update Author, Delete Author, Paginate Author
  • Publisher Management: Get Publisher List, Get Publisher By ID, Add Publisher, Update Publisher, Delete Publisher, Paginate Publisher
  • Order Management: Get Order By ID, Get Order List, Get Order Detail, Handle Order, Handle Order Detail, Update Order
  • GHN (3rd party delivery): Get Provinces, Get Districts, Get Wards, Calculate Fee, Get Services, Estimated Delivery Time, Add Order, Get Order By Order Code, Cancel Order
  • Auth: Register, Login, Refresh Token, Logout
  • User: Get user List, Get User By ID, Add User, Update User, Delete User, Change Password, Paginate User

🚀 Screenshots


🛠️ Setup


Download the project and follow the steps below

Steps
  • Step 1. You need to go to the server directory and run the command to download the library: composer install
  • Step 2. Create bookstore database and run this command to define the tables: php artisan migrate or import .sql to mysql
  • Step 3. Import file .json in data folder to postman
  • Step 4. Run server with php artisan serve

💖 Contact me


About

Built REST API with Laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published