irpcpro/test-food

A project to get order and manage them.

1.0.1 2024-03-02 13:27 UTC

This package is auto-updated.

Last update: 2024-10-31 00:29:27 UTC


README

Version: 1.0.0

A project to get order and manage them ...

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

System Design

Test-Food

Installation

Install this project via Composer:

composer create-project irpcpro/test-food

Requires:
  • php: "^8.1",
  • MariaDB: "10.4.28"

⚠️ Running Project
It's better to move to the public directory and run the command to set up a server on port 8000

$ cd ./public
$ php -S localhost:8000

⚠️ Initiate State
for setup the tables and mock data, you should run these two commands to create tables and data

$ php artisan migrate
$ php artisan db:seed DatabaseSeeder

⚠️ Testing Reports
for testing the API of the Report [weekly delays] for having more data, you can run this command to fill the order and delay_reports tables about 300 data

$ php artisan db:seed ReportDataSeeder