Graduation project built with **Laravel 11**
|
|
1 ngày trước cách đây | |
|---|---|---|
| .vscode | 1 ngày trước cách đây | |
| DB | 1 ngày trước cách đây | |
| app | 1 ngày trước cách đây | |
| bootstrap | 1 ngày trước cách đây | |
| config | 1 ngày trước cách đây | |
| database | 1 ngày trước cách đây | |
| public | 1 ngày trước cách đây | |
| resources | 1 ngày trước cách đây | |
| routes | 1 ngày trước cách đây | |
| storage | 1 ngày trước cách đây | |
| tests | 1 ngày trước cách đây | |
| .DS_Store | 1 ngày trước cách đây | |
| .editorconfig | 1 ngày trước cách đây | |
| .env.example | 1 ngày trước cách đây | |
| .gitattributes | 1 ngày trước cách đây | |
| .gitignore | 1 ngày trước cách đây | |
| README.md | 1 ngày trước cách đây | |
| artisan | 1 ngày trước cách đây | |
| composer.json | 1 ngày trước cách đây | |
| composer.lock | 1 ngày trước cách đây | |
| package.json | 1 ngày trước cách đây | |
| paypal_laravel_11.txt | 1 ngày trước cách đây | |
| phpunit.xml | 1 ngày trước cách đây | |
| stripe_laravel_11.txt | 1 ngày trước cách đây | |
| vite.config.js | 1 ngày trước cách đây |
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.