Skip to content

chaoyee/laravel_product

Repository files navigation

Laravel_product

Laravel is an excellent PHP framework for web development. It creates a RESTful web app with just a few commands. This is a simple Laravel CRUD app.

The blog article about how to create this app is here.

Version 1 (branch:01_basic):

Laravel_product

Version 1 is just a simple CRUD app with Laravel. It has a product page with pagination. Users can review all the products without user login. In addition, users can create, edit, update and delete any single product.

Version 2 (branch:02_cart_checkout):

Version 2 index page

It implements many features in version 2 such as:

  • Addition of model User, user login and authentication.

  • Administrator privilege.

  • Shopping cart and cart page. Shopping cart

  • Addition of isAdmin() helper, middleware IsAdmin and customized directive isAdmin.

  • Modification of message box.

  • Addition of model Address.

  • Addition of changing password functionality.

These features turns a simple product review app into a simple on-line shop. It utilizes the default user authentication features built in Laravel, which makes developers' lives easier.

Version 3 (branch: master):

In this version, there are:

  • Model Order and OrderDetail are created.
  • All the checkout processes are implemented. Checkout Payment methof Order confirmation

Therefore, it now can perform a real-world on-line shopping transaction.

About

A Simple Laravel CRUD App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published