Skip to content

Natours is a personal project, which i built by learning from a udmey course, this repo contains the full code of natours app and it is built using express, pug template and node and the database is used for this project is mongodb

Notifications You must be signed in to change notification settings

Denver44/Natours-MERN-App

Repository files navigation


Natours
Natours

An awesome tour booking site built on top of NodeJS.

DemoKey FeaturesDemonstrationHow To UseBuild WithInstallationKnown BugsFuture UpdatesAcknowledgement

Deployed Version

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

Current Frontend build with NextJs demo (Feel free to visit) 👉 : https://natours-next-js.vercel.app/

Key Features

  1. Authentication and Authorization
    • Login and logout
  2. Tour
    • Manage booking
    • check tours map
    • check user's reviews
    • check user's rating
  3. User profile
    • Update username
    • Update user profile photo
    • Update email and password
  4. Online Payment
    • Book tours by paying online through Stripe

Demonstration

Home Page :

natoursHomePageonline-video-cutt

Tour Details :

paymentprocess-1-ycnhrceamp4-7fW

Payment Process :

tourOverviewonline-video-cutterc

Booked Tours :

admin_profile

User Profile :

admin_profile

Admin Profile :

admin_profile

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
    - Select USA For Country and Enter any address random xyz address
    
  • Finished!

Manage your booking

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

Update your profile

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

Build With

Installation

You can fork the app or you can git-clone the app into your local machine. Once done that, please install all the dependencies by running

$ npm i
set your env variables
$ npm run watch:js
$ npm run build:js
$ npm run start:dev (for development)
$ npm run start:prod (for production)
$ npm run debug (for debug)

Future Updates

  1. Frontend

    1. Build the frontend in NextJs framework.
    2. Create whole frontend application in react functional component with typescript only.
    3. Improve overall UX/UI and make it responsive
    4. Show the most popular and viewed tour among travellers.
    5. Allow user to add a review directly at the website after they have taken a tour
  2. Backend

    1. confirm user email, login with refresh token, 2FA
    2. Prevent duplicate bookings after user has booked that exact tour, implement favorite tours
    3. Try to migrate the backend from javascript to typescript
    4. Add cloudFront so that we can upload image there.
  3. Scalable & Deployment

    1. Create CI/CD pipeline
    2. Create a Docker Image
    3. Deploy the backend on vercel.
  • Many More ! There's always room for improvement!

Known Bugs

Feel free to email me at denver.io@protonmail.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! 🙂

Acknowledgement

About

Natours is a personal project, which i built by learning from a udmey course, this repo contains the full code of natours app and it is built using express, pug template and node and the database is used for this project is mongodb

Topics

Resources

Stars

Watchers

Forks