This app is developed by using Laravel as a backend server-side development framework which is sharing data through APIs and ReactJS-based Ant Design UI framework on the frontend along with UmiJS and Ant Design ProComponents.
- PHP : v8+
- Laravel : v10+
- Nodejs : v20.11.0
- NPM : 10.2.4
- Reactjs : 18.2.0
- Ant Design Pro : 6.0.0
Open the terminal and run the following command.
git clone https://github.com/ejaz-ul-haq/vu.project.localhost.com.git
after clonning go to the project drectory by runing the following command.
cd vu.project.localhost.com
Create .env
file & Copy .env.example
file to .env
file and setup database, currently we are using mysql database vu_project_localhost_com
so make sure you have this databse on your server if not so create it or setup what you want.
The clonned project will include the last build assets of frontend UI app but if you would like to rebuild or modify the app so, do the following steps.
- Navigate to the
resources
->app-ui
- Instal the development dependencies by running the following command.
npm install
- Re-build the UI app assets by running the following commands.
npm run build
Run the following commands to install the required packages and generate the autoload files.
composer install
Now migrate and seed database to complete whole project setup by running the following command.
php artisan migrate:refresh --seed
php artisan cashier:webhook
It will create the app-required tables in the database and will also insert the following dummy data to set up the demonstration.
- Users ( 21 )
- Destinations ( 109 )
- Accommodations ( 18 )
- Trips ( 06 )
- Notifications ( 03 )
php artisan serve