Skip to content

Repository files navigation


Natours
Natours

An awesome tour booking site built on top of NodeJS(express).

DemoKey FeaturesDemonstrationHow To UseAPI UsageBuilt WithTo-doKnown BugsFuture UpdatesAcknowledgement

Deployed Version

Live demo (Feel free to visit) 👉 : https://natours-ajiths.herokuapp.com/

Key Features

  • Authentication and Authorization
    • Login and logout
  • Tour
    • Manage booking, check tours map, check users' reviews and rating
  • User profile
    • Update username, photo, email, and password
  • Credit card Payment

Demonstration

Home Page :

natoursHomePageonline-video-cutt

Tour Details :

tourOverviewonline-video-cutterc

Payment Process :

paymentprocess-1-ycnhrceamp4-7fW

Booked Tours :

rsz_bookedtours

User Profile :

rsz_userprofile

Admin Profile :

rsz_adminprofile

How To Use

Book a tour

  • Login to the site
  • Search for tours that you want to book
  • Book a tour
  • Proceed to the payment checkout page
  • Enter the card details (Test Mood):
    - Card No. : 4242 4242 4242 4242
    - Expiry date: 02 / 22
    - CVV: 222
    
  • Finished!

Manage your booking

  • Check the tour you have booked in "Manage Booking" page in your user settings. You'll be automatically redirected to this page after you have completed the booking.

Update your profile

  • You can update your own username, profile photo, email and password.

API Usage

Before using the API, you need to set the variables in Postman depending on your environment (development or production). Simply add:

- {{URL}} with your hostname as value (Eg. http://127.0.0.1:3000 or http://www.example.com)
- {{password}} with your user password as value.

Check Natours API Documentation for more info.

API Features:

Tours List 👉 https://natours-ajiths.herokuapp.com/api/v1/tours

Tours State 👉 https://natours-ajiths.herokuapp.com/api/v1/tours/tour-stats

Get Top 5 Cheap Tours 👉 https://natours-ajiths.herokuapp.com/api/v1/tours/top-5-cheap

Get Tours Within Radius 👉 https://natours-ajiths.herokuapp.com/api/v1/tours/tours-within/200/center/34.098453,-118.096327/unit/mi

Built With

To-do

  • Review and rating
    • Allow user to add a review directly at the website after they have taken a tour
  • Booking
    • Prevent duplicate bookings after user has booked that exact tour, implement favourite tours
  • Advanced authentication features
    • Signup, confirm user email, login with refresh token, two-factor authentication
  • And More ! There's always room for improvement!

Known Bugs

Feel free to email me at ajithsolairaj@gmail.com if you run into any issues or have questions, ideas or concerns. Please enjoy and feel free to share your opinion, constructive criticism, or comments about my work. Thank you! 🙂

Future Updates

  • Enable PWA
  • Improve overall UX/UI and fix bugs
  • Featured Tours
  • Recently Viewed Tours
  • And More ! There's always room for improvement!

Acknowledgement

About

A server rendered website for Tour Booking , Built REST API for Tour Booking and used those API to connect to frontend

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages