Capstone Project.
Client: Vue 3, Vue Router, Pinia, TailwindCSS
Server: Laravel 10
- PHP at least version 8.2.3
- MySQL at least version 8.0.3
- Composer at least version 2.4.2
- Node.JS at least version 18.12.1
- Laragon
Clone the project
git clone https://github.com/VEN-github/online-ordering-system.git
Go to the project directory
cd online-ordering-system
Copy the .env.example
and named it .env
.
This contains the environment variables such as application name, database connection, and url.
cp .env.example .env
Create database.
You may create the database by any method that you prefer. You can use
http://localhost/phpmyadmin
to create your database.
Install composer packages.
composer install
Install dependencies
npm install
Generate application key.
php artisan key:generate
Create a symbolic link to access storage static files from public.
php artisan storage:link
Migrate database/migrations
files and run database/seeders
as well.
php artisan migrate --seed
Start the server
npm run dev
To access the admin panel, you must go to the admin subdomain localhost:8000/admin
. This will redirect to login page if you have not started any session yet. Here is the admin credentials provided by the seeder:
Email: [email protected]
Password: admin