Welcome to the repository for Golobe Travel Service’s website, your go-to platform for exploring and booking your next travel adventure. This intuitive web interface allows users to search for flights and accommodations effortlessly.
A full-stack nextjs project to practice and showcase the work. The UI design was taken from Figma community.
Here is the live preview of this website golob-travel-agency.vercel.app
- This website is not a real travel agency website. This was only for practicing web development. Not all the data shown here is real. This website used fakerjs to generate fake data.
- Never provide your real card data here. This website can collect information from some places (e.g.: subscription, signup, payment method adding, profile photo and cover photo uploading, etc.). So it is recommended that you don't provide your real information there. This website does not verify email during sign-up. So you can sign up using a fake email. However, if you sign in with Google, Facebook, or Apple, it can collect your real information. So do it with caution. Use fake data instead. This data will only be saved in the database, and nothing will be done with it. You can still test buying tickets for flights and book flight functionalities with fake data.
- Fully Responsive
- Used redux for state management
- Used tailwind for styling
- Flight and Hotel search (dummy data)
- Filter Flight and Hotel
- Show flight and hotel details
- Buy a ticket or book a hotel
- Get a ticket after buying
- Sorting search results by best, shortest, and cheapest
- Add to favorite
- Login and Signup
- The website is not a real travel agency website. This was only for practicing web development.
- The data shown here is not real data.
- This website is hosted on Vercel with the hobby plan and the hosting location is Europe. The timeout of tasks in the hobby plan is 10 seconds. So sometimes users with a slow connection or locations far from Europe may be unable to change their profile picture, cover photo, etc. because of exceeding the task time limit on Vercel.
-
Download or clone the repository
git clone https://github.com/mojahidhasan/fullstack-nextjs-golobe-travel-agency.git
-
Navigate to the project directory
cd fullstack-nextjs-golobe-travel-agency
-
Install dependencies
npm install
-
rename the
.env.example
file from the root directory to.env
or.env.local
and set the proper values of keys. The app may get runtime errors if the.env
file is not set up. -
start the local server
npm run dev # http://localhost:3000
1: To upload it to the database directly after generating it, run the following command:
npm run generateAndUploadDB
2: To generate fake flight and related data and save it in JSON file, run the following command:
npm run generateDBFiles
It should create files in the generated
directory.
This project is still in development. All front-end pages have been developed already but many functionalities especially the backend have not been implemented yet. Here are some functionalities that are yet to develop:
- Replacing fake flight data with real flight API
- Implementing hotel data (fake) in the database.
- Showing hotel data in search results.
- Search filter for hotels working properly.
- Buying tickets and Booking hotel functionality (demo).
- Add payment method form and make it functional.
- Adding functionality of changing password, phone number, address, and date of birth from profile
- Showing histories (i.e. Hotel book, Ticket buy) and added payment methods.
- Adding hotel card to the "/favorites" page
- Download ticket functionality
- Let users know via email that they have successfully bought a ticket or booked a hotel.
- Adding Dark mode.
- Migrating to Typescript.
- Adding tests cases.
- And some more small functionalities