Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.81 KB

README.md

File metadata and controls

51 lines (40 loc) · 1.81 KB

Build Status Total Downloads Latest Stable Version License

Laravel Framework 9.18.0 - Shopping Cart

In this project there is an implementation of Laravel shopping cart api end points.

Requirements

  • Laravel 9.x requires a minimum PHP version of 8.0
  • MYSQL DB

Setup

  • Clone or download the code.
  • cd to your downloaded code cd vikas_case_study
  • run composer install
  • rename .env.example to .env
  • run php artisan key:generate
  • Setup your database into .env file
  • Run migrations. Migrations can be found within database/migrations.
php artisan migrate
  • Generate passport keys.
php artisan passport:install --force
  • Run the project.
php artisan serve
  • This is it, you can now open postman and start testing api endpoints.

Link to api documentation

.\vendor\bin\phpunit (windows machine)

License

The Laravel framework is open-sourced software licensed under the MIT license.