Graduation project built with **Laravel 11**
|
|
il y a 1 jour | |
|---|---|---|
| .vscode | il y a 1 jour | |
| DB | il y a 1 jour | |
| app | il y a 1 jour | |
| bootstrap | il y a 1 jour | |
| config | il y a 1 jour | |
| database | il y a 1 jour | |
| public | il y a 1 jour | |
| resources | il y a 1 jour | |
| routes | il y a 1 jour | |
| storage | il y a 1 jour | |
| tests | il y a 1 jour | |
| .DS_Store | il y a 1 jour | |
| .editorconfig | il y a 1 jour | |
| .env | il y a 1 jour | |
| .env.example | il y a 1 jour | |
| .gitattributes | il y a 1 jour | |
| .gitignore | il y a 1 jour | |
| README.md | il y a 1 jour | |
| artisan | il y a 1 jour | |
| composer.json | il y a 1 jour | |
| composer.lock | il y a 1 jour | |
| package.json | il y a 1 jour | |
| paypal_laravel_11.txt | il y a 1 jour | |
| phpunit.xml | il y a 1 jour | |
| stripe_laravel_11.txt | il y a 1 jour | |
| vite.config.js | il y a 1 jour |
Graduation project built with Laravel 11: a travel website with a public-facing site, user accounts, bookings, and an admin panel to manage content and settings.
/admin/login): manage sliders, features, counters, testimonials, team members, FAQ, blog categories/posts, destinations (photos/videos), packages (amenities/itineraries/photos/videos/FAQs), tours + bookings + invoices, reviews, users, subscribers (email send), terms/privacy, site settings^8.2, Laravel ^11.9.env.example) or MySQLcomposer install
npm install
cp .env.example .env
php artisan key:generate
Update .env for your database and any integrations (Mail/Stripe/PayPal).
Option — MySQL (with sample data dump)
This repo includes a MySQL dump at DB/Travel_system.sql (schema + data). Create a database, import the dump, then set:
DB_CONNECTION=mysqlDB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORDBy default, database/seeders/DatabaseSeeder.php runs SettingSeeder.
To create an admin account for local testing, run:
php artisan db:seed --class=AdminSeeder
Local admin credentials (change after first login):
admin@gmail.com1234php artisan storage:link
npm run dev
php artisan serve
Open the app:
http://127.0.0.1:8000http://127.0.0.1:8000/admin/loginSet .env mail variables (MAIL_MAILER=smtp, MAIL_HOST, MAIL_PORT, MAIL_USERNAME, MAIL_PASSWORD, MAIL_ENCRYPTION).
Set:
STRIPE_TEST_PKSTRIPE_TEST_SKUsed by config/stripe.php.
Set:
PAYPAL_MODE=sandboxPAYPAL_SANDBOX_CLIENT_IDPAYPAL_SANDBOX_CLIENT_SECRETUsed by config/paypal.php.