TrekKing is a website developed using PHP, HTML, CSS and Javascript. The website allows users to browse through treks according to their preferences and book treks they like. The site keeps a record of all treks that the user has booked. A confirmation email is sent on successful booking of the trek. A reminder is displayed on the homepage, along with the weather forecast of the place of the trek.
Pre-requisite-
- XAMPP Software
- Apache
- MySQL
- Composer
Settings-
- Put all the files in the Xampp/htdocs folder (Can be accessed as url: localhost/Trekking/home.php)
- Changes in my.ini file (Can be accessed through Xampp Control Panel MySQL-Config or Xampp/mysql/bin/my.ini)
- max_allowed_packet = 64M
- innodb_log_file_size = 256M
- innodb_lock_wait_timeout = 500
- Changes in php.ini file (Can be accessed through Xampp Control Panel Apache-Config or Xampp/php/php.ini)
- max_execution_time=300
- display_errors=Off
- post_max_size=1280M
- upload_max_filesize=1280M
- sendmail_path = "\"...\Xampp\sendmail\sendmail.exe\" -t" (... has to be replaced by whole path)
- Changes in sendmail.ini file (Can be accessed through Xampp/sendmail/sendmail.ini)
- smtp_server=smtp.gmail.com (for Gmail)
- smtp_port=587 (for Gmail)
- auth_username=... (... has to be replaced by your email)
- auth_password=... (... has to be replaced by your password)
- Import trekking(2).sql in localhost/phpmyadmin
Features-
- Home Page where the user will get Reminders of his latest treks and the weather conditions in the area
- Sign-Up Page
- Login Page
- Profile Page
- Featured Treks Page
- Trek Information Page
- Search Page
- List of Treks depending upon search criteria
- Checkout Page
Future Scope
- Mail System (using PHPMailer/SendGrid instead of PHP mail function)
- SMS System (using Way2SMS/TextLocal API)
- Google Login System
- Payment System (using PayPal API)
- Realtime Notifications (using Pusher & toastr.js)
- Pretty URLs
- Security Measures
- Group Bookings
- Predicted Weather conditions for a Trek using Machine Learning or paid APIs
- Animations
- Admin Panel
(removing .php in url by uncommenting mod_rewrite.so in Xampp/apache/conf/httpd.conf & creating '.htaccess' named file in our Project folder & writing rules using regular expressions in it)