https://github.com/nikolatechie/trip-deals
Web application that allows searching trip deals, booking trips, and reading travel news.
https://github.com/nikolatechie/trip-deals
mysql php react reactjs sql
Last synced: 10 months ago
JSON representation
Web application that allows searching trip deals, booking trips, and reading travel news.
- Host: GitHub
- URL: https://github.com/nikolatechie/trip-deals
- Owner: nikolatechie
- Created: 2023-10-02T12:06:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-24T17:31:17.000Z (over 2 years ago)
- Last Synced: 2025-02-09T08:40:05.545Z (12 months ago)
- Topics: mysql, php, react, reactjs, sql
- Language: JavaScript
- Homepage:
- Size: 16.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Trip Deals
Welcome to the Trip Deals project! This web application is built using **React.js**, **PHP**, and **MySQL**, and is designed to provide users with access to trip deals, travel news, and the ability to book trips. There are two types of users in this application: **admin** and **customer**.
## Features
### Customer Features
- **View Trip Deals:** Customers can browse/filter and view a list of available trip deals.
- **Book Trips:** Customers can select a trip deal and book it.
- **View Bookings:** Customers can see a list of their booked trips.
- **Export Bookings as JSON:** Customers can export their bookings in JSON format.
- **Read Travel News:** Customers can access the latest travel news.
- **Contact Admin:** Customers can contact the admin using a contact form.
### Admin Features
- **Create/ Edit/ Remove News:** Admin users have the ability to create, edit, and remove travel news articles.
- **Create/ Edit/ Remove Deals:** Admin users can manage trip deals, including creating, editing, and removing them.
- **Read Contact Messages:** Admin users can view and respond to messages submitted by customers through the contact form.
### RSS Feed Integration
- The application fetches travel news from an RSS feed by parsing an XML file. Additionally, news articles created by admin are displayed on the news and home pages.
### User Authentication
- PHP sessions are used for user authentication, allowing secure access to the application based on user roles.
## Screenshots





## Technologies Used
- React.js
- PHP
- MySQL
- RSS Feed (XML Parsing)
- Router: React Router library and manually-created PHP router
Happy traveling!