Hilink

NextJSTailwindCSSFrontend

February 7, 2025

Travel application to book campsites in different locations.

Features

Visitors can browse various campsites and book them. They can select how many nights they want to stay and how many people will be there. The cost of the whole trip will be calculated according to these factors and reflected in the total cost.

After clicking book camp, visitors will be redirected to the payment gateway where Stripe will handle and collect payment. This will update the booking system on Stripe and the backend to store information about the customer. The application will redirect back with a message about whether the payment is successful.

A webhook API is implemented where it is possible to monitor payment events that go through Stripe. This can update the backend and send out receipts to customers.

Acknowledgement

This application was using code developed in the JavaScript Mastery Youtube channel. The video can be found at https://www.youtube.com/watch?v=cuzw4vL1z5E. This is an improved version with additional features and integration that were not shown in the video.

Gallery