/RMZ

Laravel E-commerce web application for ordering homemade food.

Primary LanguagePHPMIT LicenseMIT

Gourmet

License


An E-commerce web application, made with laravel, for ordering Home made Food

📝 Table of Contents

🧐 About

RMZ Training porject

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Please check the official laravel installation guide for server requirements before you start. Official Documentation

Installing

Clone the repository

git clone git@github.com:sergi-s/RMZ.git

Switch to the repo folder

cd RMZ

Install all the dependencies using composer

composer install

Copy the example env file and make the required configuration changes in the .env file

cp .env.example .env

Generate a new application key

php artisan key:generate

Run the database migrations (Set the database connection in .env before migrating)

php artisan migrate

Start the local development server

php artisan serve

You can now access the server at http://localhost:8000

🔧 Adding data

To use the application with all types of user use this steps to add predefined sets of data

First: add independent Models

In the CMD, we are going to make use of Seeders

php artisan db:seed --class=CategorySeeder
php artisan db:seed --class=UserSeeder

Second: add dependent Models

using the id, of users and categories created by the 2 previous commands we can add

php artisan db:seed --class=ChefProfileSeeder
php artisan db:seed --class=MealSeeder

✍️ Authors

See also the list of contributors who participated in this project.