A Travel DApp On The Ethereum Blockchain Made Accommodation-Booking Securer And Faster

Expertise: Custom Web Development Web & Enterprise Portals Application Development E-commerce Solutions Finance Applications Hospitality Management System Custom Reports and Dashboards
Verticals: Travel and Hospitality
Technologies: AWSSmart ContractEthereumWeb3JSHTML5AJAX AWS S3 Bucket APIMailchimpBooker APIStripe Payment GatewayGoogle Place APIGoogle Plus Login API
Home > Portfolio > A Travel DApp On The Ethereum Blockchain Made Accommodation-Booking Securer And Faster
Client Overview
An online travel agency required a decentralized application (DApp) that would help travelers book accommodations and allied services quickly and more securely. As a trusted travel and tour operator, the client relies on blockchain and cryptocurrencies to help travellers improve how they search for hotels and book them. As a DApp development partner, we used the MEAN stack to build a travel application on the Ethereum blockchain. The app supported a serverless architecture that was ready to handle high-traffic scenarios.
Business Needs
The client had an idea of having a web application that would enable its users-cum-travelers to search hotels based on their availability and locations. However, the client never wanted to develop a traditional web application. Instead, the client was interested in building a blockchain-powered web application that would have its own tokens called $CANDY tokens. The client wanted the users to use these tokens for booking their hotels, flights, etc. Some of the business needs the client wanted to fulfill by engaging a blockchain development company are listed below.

  • Developing an end-to-end blockchain travel application for improving outcomes
  • Empowering travelers to search hotels and flights on the basis of their availabilities and locations
  • Ensuring the travelers can use the web app to pay using home-grown $CANDY tokens and credit cards as well
  • Helping more users witness the power of a blockchain and cryptocurrency firsthand
  • Rewarding the users whenever they used $CANDY tokens in the blockchain-powered OTA ecosystem
  • Enabling the users to stake their $CANDY tokens and earn exciting rewards
Strategy & Solution
As a trusted blockchain development company, we were the client's first choice for putting its vision from paper to the real world. In the discovery meeting with the client, we finalized the scope of the project. We even took stock of the client's expectations from the blockchain-powered app and decided on the app flow. The client and our blockchain developers settled on a flow that included users booking accommodations and flights through the OTA app. Once the booking was made, the users would be given $CANDY tokens as rewards. Moreover, we used our deep blockchain app development expertise to create dedicated modules that helped the users stake the earned tokens and get heavy returns. The earned tokens could be re-staked to earn more rewards - that was how the client wanted the token circulation to happen across the travel ecosystem. Basically, we made sure any user booking any service in the travel ecosystem would earn rewards in the form of $CANDY tokens.

Once the flow of the app was set in stone, our development team held multiple internal meetings to decide the technology stack it would use for building this application. After detailed discussions, our team decided on using the MERN stack and the Ethereum blockchain. Our blockchain developers believed that the combination of the MERN stack and the Ethereum blockchain has always been ideal for developing such feature-rich blockchain web applications. We finally started preparing the app and adding functionalities to it. The blockchain app we were developing should enable the users to earn cash back in the form of $CANDY tokens whenever they use their functionalities. Moreover, our blockchain developers even prepared different plans to enable the users to stake their earned $CANDY tokens.

Additionally, there was one more reason for choosing the MERN stack for building this blockchain application - the application had multiple APIs. The thing was, the web application was supposed to have integrations with many hotel service providers. That was the reason why every hotel service provider had its own API, which was integrated into the app. Because of so many APIs, the development team created a booking engine that could handle all of them. The engine even had a smart algorithm that helped exclude hotels that offered similar deals and discounts. Not just that, our developers created different schedules in the blockchain application for performing certain activities at a specified period.


Our front-end developers used React.js to build the user interface (UI) of the app. Having rich experience in creating secure and easy-to-use frontends, our team made the project's UI fluid and responsive on different devices and operating systems. Here are some of the key highlights of the project's front end.

  • Added social media logins to help users log in to the application using their Facebook or Gmail accounts
  • Implemented two-factor authentication to beef up the security of the application
  • Streamlined how people searched for hotels and made the bookings
  • Sent booking-related invoices and receipts to a user's registered email
  • Ensured that the application was mobile-responsive and compatible with the latest versions of different browsers - Chrome, Safari, Microsoft Edge, Brave, etc.
  • Used Web3.0 elements and concepts to improve the app's user experience
  • Optimized the UI to become faster and user-friendlier than ever


Our development team has built the backend of the blockchain application in a way that the admin will have complete control over it. Basically, the backend development for this project was done to help the admin have complete visibility into different application activities. Here are some of the key features of the backend we developed for the project.

  • Added extensive reporting and website management options for the admin
  • Hosted the application on AWS
  • Used SendGrid - the email delivery API - to send emails
  • Connected the app with the Mailchimp API for running extensive email campaigns
  • Worked with JSON Web Token, or JWT, to strengthen the platform's token security
  • Included SSL for improving HTTP security
  • Leveraged 2C2P payment gateway for simplifying payment processing
  • Integrated social media logins using different APIs
  • Wrote complex smart contracts and developed tokens using the Ethereum blockchain
  • Encrypted data for maximizing data security
  • Stored and managed application data with the help of MongoDB Atlas Database

Development Process

We followed agile methodologies to develop this project. Because we wanted the project execution to be completely flexible, we followed a well-defined scrum framework. We set the sprint duration to two weeks, and every goal in each session was achievable. Moreover, all the scrum ceremonies were scheduled and executed on time. That way, we made sure that the project was built and deployed seamlessly. Here are the steps we followed to develop the web application from the ground up.

  • Gathered project requirements and outlined milestones
  • Established a team that included blockchain developers, web developers, a scrum master, and a project coordinator
  • Held daily stand-ups to make sure the project deliverables were on track
  • Quality-checked the deliverables before sending them to the client
  • Prepared in-depth user manuals for the web application
Business Outcomes
Once the engagement came to a close, the client had a fully functional blockchain-enabled web application that was ready to take the travel segment by storm. Moreover, our development team delivered the project right on time as per the schedule the client shared at the start of the engagement. Eventually, the release of the application made travelers improve their traveling experiences while using crypto easily and safely. Here are some of the top benefits the client reaped once the blockchain web application was deployed.

  • Received an influx of travelers-cum-crypto-enthusiasts
  • Designed the web application on a serverless architecture to handle peak traffic
  • Improved the travel experiences with the help of the web application's blockchain technology and native cryptocurrency - $CANDY tokens
  • Enabled token-staking to make sure the users earned exciting rewards while helping the portal's tokenomics survive
  • Automated how the users get rewarded with $CANDY tokens whenever they use the web application to book a hotel or a flight
  • Empowered travelers to unlock the power of blockchain technology and crypto money
  • Implemented a robust payment gateway that helped travelers pay using credit cards and $CANDY tokens
  • Helped the travelers find a hotel or a flight on the basis of their location, availability, and price
Client's Speak
We brought Flexsin's blockchain development team on board because of its sheer expertise. These people are professionals and knew exactly how a blockchain would improve my travel business. Much recommended!
Jeremy Foo
TripCandy - Founder - Singapore
Let's collaborate and discover propositions that unlock business opportunities.
  • attach_file Attach File
  • Please Validate Captcha