A simple online ordering system for a restaurant developed by @mskobun and @vernonlim for COMP1044 Databases and Interfaces at University of Nottingham Malaysia.
It uses PHP with Laravel framework for the backend, Svelte with flowbite for the frontend, and intertia.js to pass data between the two.
php
, composer
and NodeJS + npm
are installed.composer install
to install PHP packages.npm install
to install NodeJS packages..env.example
to .env
.env
to match your setup. Uncomment lines if necessary.npm run build
to build the frontend.php artisan optimize
.mod_rewrite
is enabled.php artisan db:migrate
and then php artisan db:seed
to migrate and seed the database respectively.npm run dev
to build Svelte files with live reloadphp artisan serve
to run the Laravel development server.