This is a technical challenge for innoscripta.com
Description : This project includes the backend and APIs of a pizza online ordering service + All Unit and Feature Tests.
The project made by Laravel 6.2.
The project includes the following features:
- Show A List of Available Categories and Products
- User Register / Login / Logout
- User Order Pizza
- User Check Order
- User Previous Orders History
- run command :
composer install
- run command :
npm install
- create two databases for
Web Service
&Testing Environment
- change
.env.example
File to.env
and setup .env database information - change
.env.example
File to.env.testing
and setup .env.testing database information for Unit & Feature Tests - run command :
php artisan key:generate
- run command :
php artisan migrate
- run command :
php artisan jwt:generate
- run command :
php artisan db:seed
- run command :
php artisan serve
- open web server
Done !
- step1: create a new database for test
- step2: change
.env.example
File to.env.testing
and setup .env.testing database information for Unit & Feature Tests - run command :
phpunit