Skip to content

A complete Node.js and Express-based backend API for the Natours travel booking application, built with MongoDB, RESTful architecture & MVC pattern.Image upload using Multer +Sharp , Real email sending using Gmail App Password & payment using Stripe.As it's free deployed server, could take few moments for first time rendering.

Notifications You must be signed in to change notification settings

aspreet31/natours

Repository files navigation

Natours API

Natours is a full-featured backend application built using Node.js, Express, and MongoDB. It serves as the backend for a travel booking platform that allows users to explore tours,login & register accounts, and make bookings.

This project is developed with a focus on:

  • RESTful API architecture
  • MVC (Model-View-Controller) pattern
  • JWT-based authentication and role-based authorization
  • Advanced error handling and security best practices
  • Geo-spatial queries for tour locations

📁 Tech Stack: Node.js | Express.js | MongoDB | Mongoose | JWT | Multer | Stripe | Postman

Features

  • User Authentication & Authorization
  • Tour CRUD operations
  • User Reviews & Ratings
  • Tour Booking using Stripe API
  • Image Uploading & Resizing with Multer + Sharp
  • Geo-based tour search

Getting Started

Clone the repo and install dependencies:

git clone https://github.com/aspreet31/natours.git cd natours npm install npm start running server at http://localhost:3000

Screenshots

Home Page

image

Login

image

Sign Up

image

Tour Detail

image

image

image

image

Payment Integration Gateway

image

User Settings

image

image

Booking tours

image

Email Sending

image

About

A complete Node.js and Express-based backend API for the Natours travel booking application, built with MongoDB, RESTful architecture & MVC pattern.Image upload using Multer +Sharp , Real email sending using Gmail App Password & payment using Stripe.As it's free deployed server, could take few moments for first time rendering.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published